From bbff3584e1ec3ee816144f670a7edb6d3d20f602 Mon Sep 17 00:00:00 2001 From: filon Date: Mon, 10 Feb 2003 14:08:37 +0000 Subject: - 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 --- libvo/x11_common.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'libvo') diff --git a/libvo/x11_common.c b/libvo/x11_common.c index 2b58bd2f70..48781100d9 100644 --- a/libvo/x11_common.c +++ b/libvo/x11_common.c @@ -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 ); -- cgit v1.2.3