[MPlayer-dev-eng] [PATCH] X11 vo_wm_detect() correction and fs mode under wmaker

Arpi arpi at thot.banki.hu
Wed Nov 6 23:08:59 CET 2002


Hi,

>       if ( wm != vo_wm_Unknown ) break;
>       XFree( name ); name=NULL;
>      }
> - } while( c++ < 25 );
> + } while( ( c += rval ? 1 : 0) < 25 );
>   if ( name ) XFree( name );

dunno.
what will happen if there are no 25 events ? hangup?

>  #define WIN_LAYER_ONTOP                  6
> +#define WIN_LAYER_ABOVE_DOCK             10
>  
> -     case  1: xev.data.l[0] = WIN_LAYER_ONTOP;    break;
> +     case  1: xev.data.l[0] = WIN_LAYER_ABOVE_DOCK; break;

this part looks ok


A'rpi / Astral & ESP-team

--
Developer of MPlayer, the Movie Player for Linux - http://www.MPlayerHQ.hu



More information about the MPlayer-dev-eng mailing list