mirror of
https://github.com/mpv-player/mpv.git
synced 2026-10-27 13:58:08 +08:00
- fix detetcion of metacity (sawfish 1.0 will be no longer treated as metacity)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9385 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
+2
-3
@@ -202,9 +202,8 @@ int vo_wm_detect( void )
|
||||
wm |= vo_wm_LAYER;
|
||||
metacity_hack |= 1;
|
||||
} else
|
||||
if ( args[i] == XA_WIN_HINTS)
|
||||
// metacity is the only manager which reports that supports _WIN_LAYER but not _WIN_HINTS.
|
||||
// what's more is has broken _WIN_LAYER support
|
||||
// metacity is the only manager I know which reports support only for _WIN_LAYER
|
||||
// hint in _WIN_PROTOCOLS (what's more support for it is broken)
|
||||
metacity_hack |= 2;
|
||||
}
|
||||
XFree( args );
|
||||
|
||||
Reference in New Issue
Block a user