Qt: fixed bad behaviour of Linux Mint 16 window manager called Mutter.

git-svn-id: trunk@44459 -
This commit is contained in:
zeljko 2014-03-17 16:20:13 +00:00
parent adc1bdf40e
commit ef53b052f0

View File

@ -102,7 +102,8 @@ begin
QtX11InitializePalettes; QtX11InitializePalettes;
FWindowManagerName := LowerCase(GetWindowManager); FWindowManagerName := LowerCase(GetWindowManager);
// metacity wm forks. marco = mint mate wm, gnome shell = gnome 3 wm // metacity wm forks. marco = mint mate wm, gnome shell = gnome 3 wm
if (FWindowManagerName = 'marco') or (FWindowManagerName = 'gnome shell') then if (FWindowManagerName = 'marco') or (FWindowManagerName = 'gnome shell') or
(UTF8Pos('mutter', FWindowManagerName) > 0) then
FWindowManagerName := 'metacity'; FWindowManagerName := 'metacity';
{$ENDIF} {$ENDIF}
{$IFDEF DARWIN} {$IFDEF DARWIN}