summaryrefslogtreecommitdiffstats
path: root/libvo
diff options
context:
space:
mode:
authorarpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-12-30 20:57:01 +0000
committerarpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-12-30 20:57:01 +0000
commitcab4d6b8e0d7b4671a34575d7903d4f561b4b355 (patch)
tree2e5439364db268df3a3d3a884174bc0c14661376 /libvo
parentda0029cd411c8505a7740a5f590c818db33bf0be (diff)
downloadmpv-cab4d6b8e0d7b4671a34575d7903d4f561b4b355.tar.bz2
mpv-cab4d6b8e0d7b4671a34575d7903d4f561b4b355.tar.xz
2*10l :)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8664 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo')
-rw-r--r--libvo/x11_common.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libvo/x11_common.c b/libvo/x11_common.c
index 334fe41017..cbf0d55f7e 100644
--- a/libvo/x11_common.c
+++ b/libvo/x11_common.c
@@ -139,9 +139,9 @@ int net_wm_support_state_test( char *name )
mp_dbg(MSGT_VO,MSGL_DBG2, "[x11] NetWM supports %s\n",name);
if ( !strncmp( name,"_NET_WM_STATE_FULLSCREEN", 24 ) )
{ mp_dbg( MSGT_VO,MSGL_STATUS,"[x11] Detected wm supports FULLSCREEN state.\n" ); return SUPPORT_FULLSCREEN; }
- if ( !strncmp( name,"_NET_WM_STATE_STAYS_ON_TOP", 24 ) )
+ if ( !strncmp( name,"_NET_WM_STATE_STAYS_ON_TOP", 26 ) )
{ mp_dbg( MSGT_VO,MSGL_STATUS,"[x11] Detected wm supports STAYS_ON_TOP state.\n" ); return SUPPORT_STAYS_ON_TOP; }
- if ( !strncmp( name,"_NET_WM_STATE_ABOVE", 24 ) )
+ if ( !strncmp( name,"_NET_WM_STATE_ABOVE", 19 ) )
{ mp_dbg( MSGT_VO,MSGL_STATUS,"[x11] Detected wm supports ABOVE state.\n" ); return SUPPORT_ABOVE; }
return SUPPORT_NONE;
}