1
0
mirror of https://github.com/mpv-player/mpv synced 2025-03-05 21:57:39 +00:00
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8664 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
arpi 2002-12-30 20:57:01 +00:00
parent da0029cd41
commit cab4d6b8e0

View File

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