Mercurial > mplayer.hg
changeset 8663:21e79b2ea8c5
2*10l :)
author | arpi |
---|---|
date | Mon, 30 Dec 2002 20:57:01 +0000 |
parents | 15bfe65d0b65 |
children | cfbf03d2bce1 |
files | libvo/x11_common.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/libvo/x11_common.c Mon Dec 30 20:46:07 2002 +0000 +++ b/libvo/x11_common.c Mon Dec 30 20:57:01 2002 +0000 @@ -139,9 +139,9 @@ 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; }