[MPlayer-dev-eng] WM detection
Ponekker Zoltan
pontscho at makacs.poliod.hu
Fri May 10 09:19:24 CEST 2002
Hali
> - return vo_wm_NetWM;
> + //return vo_wm_NetWM;
> }
Eh .... This is spare ... Gnome and KDE support this property's.
> #endif
> // --- other wm
> @@ -203,7 +203,8 @@
> XMoveWindow( mDisplay,win,vo_screenwidth,vo_screenheight );
> do
> {
> - XCheckWindowEvent( mDisplay,win,PropertyChangeMask |
> StructureNotifyMask,&xev );
> + //XCheckWindowEvent( mDisplay,win,PropertyChangeMask |
> StructureNotifyMask,&xev );
> + XNextEvent( mDisplay,&xev );
XNextEvent blocking the loop ... This is not working under sawfish in my
system ...
> -#if 1
> +#if 0
Why ??? And if the user change wm in runtime ?
> case PropertyNotify:
> {
> char * name = XGetAtomName( mydisplay,Event.xproperty.atom );
This code working for you ?
Pontscho
More information about the MPlayer-dev-eng
mailing list