mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-22 10:59:29 +02:00
Qt: apply invalid qt position only in case of kde session v.3
git-svn-id: trunk@51897 -
This commit is contained in:
parent
1343b1dd2f
commit
de0a7494b4
@ -4013,7 +4013,7 @@ begin
|
||||
{$ENDIF}
|
||||
{TODO: KWin4 is find with FFormHasInvalidPosition := True, but gtk based wm's like
|
||||
xfce,gnome-shell and cinnamon and kwin5 aren''t, so we must use code below.}
|
||||
if (GetKdeSessionVersion = 3) or (GetKdeSessionVersion = 4) then
|
||||
if (GetKdeSessionVersion = 3) then
|
||||
TQtMainWindow(Self).FFormHasInvalidPosition := True
|
||||
else
|
||||
begin
|
||||
|
Loading…
Reference in New Issue
Block a user