1
mirror of https://github.com/mpv-player/mpv synced 2024-10-30 04:46:41 +01: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:
filon 2003-02-10 14:08:37 +00:00
parent c8101bc678
commit bbff3584e1

View File

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