summaryrefslogtreecommitdiffstats
path: root/libvo
diff options
context:
space:
mode:
authorfilon <filon@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-02-10 14:08:37 +0000
committerfilon <filon@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-02-10 14:08:37 +0000
commitbbff3584e1ec3ee816144f670a7edb6d3d20f602 (patch)
treea6a66eaa54947a45c8f5b876fcf9a8a505ac0f10 /libvo
parentc8101bc678df102228af7c2961a311123b3d07c7 (diff)
downloadmpv-bbff3584e1ec3ee816144f670a7edb6d3d20f602.tar.bz2
mpv-bbff3584e1ec3ee816144f670a7edb6d3d20f602.tar.xz
- 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
Diffstat (limited to 'libvo')
-rw-r--r--libvo/x11_common.c5
1 files changed, 2 insertions, 3 deletions
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 );