mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-06-07 02:58:17 +02:00
Qt: workaround for xfwm4 bad modal window handling.Use same trick as for kde-3.XX when showing modal window.
git-svn-id: trunk@40625 -
This commit is contained in:
parent
27f3ced09f
commit
d8e57f164a
@ -420,7 +420,8 @@ begin
|
||||
{$endif}
|
||||
|
||||
{$ifdef HASX11}
|
||||
if (GetWindowManager = 'kwin') and IsOldKDEInstallation then
|
||||
if ((QtWidgetSet.WindowManagerName = 'kwin') and IsOldKDEInstallation) or
|
||||
(QtWidgetSet.WindowManagerName = 'xfwm4') then
|
||||
begin
|
||||
W := nil;
|
||||
ActiveWin := GetActiveWindow;
|
||||
|
Loading…
Reference in New Issue
Block a user