mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-22 10:59:29 +02:00
Qt: small fix for KWin on KDE 5 plasma.
git-svn-id: trunk@51885 -
This commit is contained in:
parent
75b1694ce7
commit
d65ac7c3af
@ -4030,8 +4030,7 @@ begin
|
||||
X11Pos.x -= FFrameMargins.Left;
|
||||
X11Pos.y -= FFrameMargins.Top;
|
||||
end;
|
||||
|
||||
if (X11Pos.x = LCLObject.Left) and (X11Pos.y = LCLObject.Top) and
|
||||
if ((GetKdeSessionVersion = 5) or ((X11Pos.x = LCLObject.Left) and (X11Pos.y = LCLObject.Top))) and
|
||||
((QWidget_x(Widget) <> X11Pos.x) or (QWidget_y(Widget) <> X11Pos.y)) then
|
||||
begin
|
||||
{$IF DEFINED(DEBUGQTUSEACCURATEFRAME) OR DEFINED(DEBUGQTCHECKMOVESIZE)}
|
||||
|
Loading…
Reference in New Issue
Block a user