mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-15 08:59:10 +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.
|
// fix for buggy compiz.
|
||||||
// see http://bugs.freepascal.org/view.php?id=17523
|
// see http://bugs.freepascal.org/view.php?id=17523
|
||||||
if compositeManagerRunning then
|
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}
|
{$ENDIF}
|
||||||
end;
|
end;
|
||||||
GDK_WINDOW_STATE:
|
GDK_WINDOW_STATE:
|
||||||
|
Loading…
Reference in New Issue
Block a user