Gtk2: fixed weird window resizing under xfce. issue #41012

This commit is contained in:
Željan Rikalo 2024-07-19 21:37:17 +02:00
parent 68f4d56310
commit 8d0afe3d1f

View File

@ -892,7 +892,7 @@ begin
{$ELSE}
AWindowManager := 'Nil';
{$ENDIF}
if (AWindowManager = 'fly-wm') or (AWindowManager = 'openbox') then
if (AWindowManager = 'fly-wm') or (AWindowManager = 'openbox') or (AWindowManager = 'xfwm4') then
fLockTopLevelWindowResizeOnNativeCall := 1
else
fLockTopLevelWindowResizeOnNativeCall := 0;