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:
zeljko 2013-03-23 20:03:15 +00:00
parent 27f3ced09f
commit d8e57f164a

View File

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