mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-23 10:59:14 +02:00
Gtk2: fixed weird window resizing under xfce. issue #41012
(cherry picked from commit 8d0afe3d1f
)
Co-authored-by: Željan Rikalo <zeljko@lazarus-ide.org>
This commit is contained in:
parent
0b87fcd078
commit
1840363662
@ -893,7 +893,7 @@ begin
|
|||||||
{$ELSE}
|
{$ELSE}
|
||||||
AWindowManager := 'Nil';
|
AWindowManager := 'Nil';
|
||||||
{$ENDIF}
|
{$ENDIF}
|
||||||
if (AWindowManager = 'fly-wm') or (AWindowManager = 'openbox') then
|
if (AWindowManager = 'fly-wm') or (AWindowManager = 'openbox') or (AWindowManager = 'xfwm4') then
|
||||||
fLockTopLevelWindowResizeOnNativeCall := 1
|
fLockTopLevelWindowResizeOnNativeCall := 1
|
||||||
else
|
else
|
||||||
fLockTopLevelWindowResizeOnNativeCall := 0;
|
fLockTopLevelWindowResizeOnNativeCall := 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user