mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-11 14:37:48 +02:00
Gtk2: fixed configure event when moving form under compiz. fixes #17625
git-svn-id: trunk@27705 -
This commit is contained in:
parent
3296e2fd04
commit
22c960e012
@ -190,7 +190,13 @@ begin
|
||||
// fix for buggy compiz.
|
||||
// see http://bugs.freepascal.org/view.php?id=17523
|
||||
if compositeManagerRunning then
|
||||
Result := False;
|
||||
begin
|
||||
if (X <> ACtl.Left) or (Y <> ACtl.Top) then
|
||||
Result := gtkconfigureevent(widget, PGdkEventConfigure(event),
|
||||
Data)
|
||||
else
|
||||
Result := False;
|
||||
end;
|
||||
{$ENDIF}
|
||||
end;
|
||||
GDK_WINDOW_STATE:
|
||||
|
Loading…
Reference in New Issue
Block a user