summaryrefslogtreecommitdiffstats
path: root/libvo/x11_common.c
diff options
context:
space:
mode:
authoralex <alex@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-05-23 15:40:08 +0000
committeralex <alex@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-05-23 15:40:08 +0000
commit5b0b08a392311e065df6d796fdfe1923785800d9 (patch)
tree31c57b938b605449f4c79acbd97aa629e08825d0 /libvo/x11_common.c
parentcdfc03fab6400f2bde66c21db70c2c4c38951bc8 (diff)
downloadmpv-5b0b08a392311e065df6d796fdfe1923785800d9.tar.bz2
mpv-5b0b08a392311e065df6d796fdfe1923785800d9.tar.xz
applied 64bit patch from Ulrich Hecht <uli at suse dot de>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6165 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo/x11_common.c')
-rw-r--r--libvo/x11_common.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libvo/x11_common.c b/libvo/x11_common.c
index b69d8d3c78..d8952ff22b 100644
--- a/libvo/x11_common.c
+++ b/libvo/x11_common.c
@@ -205,7 +205,7 @@ int vo_wm_detect( void )
#if 1
// --- netwm
type=XInternAtom( mDisplay,"_NET_SUPPORTED",False );
- if ( Success == XGetWindowProperty( mDisplay,mRootWin,type,0,65536 / sizeof( long ),False,AnyPropertyType,&type,&format,&nitems,&bytesafter,&args ) && nitems > 0 )
+ if ( Success == XGetWindowProperty( mDisplay,mRootWin,type,0,16384,False,AnyPropertyType,&type,&format,&nitems,&bytesafter,&args ) && nitems > 0 )
{
mp_dbg( MSGT_VO,MSGL_STATUS,"[x11] Detected wm is of class NetWM.\n" );
XFree( args );
@@ -702,7 +702,7 @@ void vo_x11_setlayer( int layer )
}
type=XInternAtom( mDisplay,"_NET_SUPPORTED",False );
- if ( Success == XGetWindowProperty( mDisplay,mRootWin,type,0,65536 / sizeof( long ),False,AnyPropertyType,&type,&format,&nitems,&bytesafter,&args ) && nitems > 0 )
+ if ( Success == XGetWindowProperty( mDisplay,mRootWin,type,0,16384,False,AnyPropertyType,&type,&format,&nitems,&bytesafter,&args ) && nitems > 0 )
{
XEvent e;
@@ -721,7 +721,7 @@ void vo_x11_setlayer( int layer )
return;
}
type=XInternAtom( mDisplay,"_WIN_SUPPORTING_WM_CHECK",False );
- if ( Success == XGetWindowProperty( mDisplay,mRootWin,type,0,65536 / sizeof( long ),False,AnyPropertyType,&type,&format,&nitems,&bytesafter,&args ) && nitems > 0 )
+ if ( Success == XGetWindowProperty( mDisplay,mRootWin,type,0,16384,False,AnyPropertyType,&type,&format,&nitems,&bytesafter,&args ) && nitems > 0 )
{
XClientMessageEvent xev;