mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-07 06:38:06 +02:00
Qt5, Qt6: better handling of modal windows for gtk based window managers (cinnamon, metacity, xfwm4).
This commit is contained in:
parent
6e858619fd
commit
ff4b8a53ac
@ -515,9 +515,8 @@ begin
|
||||
{$endif}
|
||||
|
||||
{$ifdef HASX11}
|
||||
if ((QtWidgetSet.WindowManagerName = 'kwin') and IsOldKDEInstallation) or
|
||||
(QtWidgetSet.WindowManagerName = 'xfwm4') or
|
||||
(QtWidgetSet.WindowManagerName = 'metacity') or IsWayland then
|
||||
if ((QtWidgetSet.WindowManagerName <> 'plasma') and (QtWidgetSet.WindowManagerName <> 'kwin'))
|
||||
or IsWayland then
|
||||
begin
|
||||
W := nil;
|
||||
ActiveWin := GetActiveWindow;
|
||||
|
@ -512,8 +512,8 @@ begin
|
||||
{$endif}
|
||||
|
||||
{$ifdef HASX11}
|
||||
if (QtWidgetSet.WindowManagerName = 'xfwm4') or
|
||||
(QtWidgetSet.WindowManagerName = 'metacity') or IsWayland then
|
||||
if ((QtWidgetSet.WindowManagerName <> 'plasma') and (QtWidgetSet.WindowManagerName <> 'kwin'))
|
||||
or IsWayland then
|
||||
begin
|
||||
W := nil;
|
||||
ActiveWin := GetActiveWindow;
|
||||
|
Loading…
Reference in New Issue
Block a user