Gtk2: fixed configure event when moving form under compiz. fixes #17625

git-svn-id: trunk@27705 -
This commit is contained in:
zeljko 2010-10-14 07:22:55 +00:00
parent 3296e2fd04
commit 22c960e012

View File

@ -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: