mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-14 17:19:19 +02:00
Qt: fixed bad behaviour of Linux Mint 16 window manager called Mutter.
git-svn-id: trunk@44459 -
This commit is contained in:
parent
adc1bdf40e
commit
ef53b052f0
@ -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}
|
||||||
|
Loading…
Reference in New Issue
Block a user