[MPlayer-cvslog] r34550 - trunk/gui/wm/ws.c

Alexander Strasser eclipse7 at gmx.net
Fri Jan 13 10:11:26 CET 2012


Hi Ingo,

ib wrote:
> Author: ib
> Date: Thu Jan 12 17:01:32 2012
> New Revision: 34550
> 
> Log:
> Simplify XShape handling and setting of wsUseXShape.
> 
> Modified:
>    trunk/gui/wm/ws.c
> 
> Modified: trunk/gui/wm/ws.c
> ==============================================================================
> --- trunk/gui/wm/ws.c	Thu Jan 12 16:53:20 2012	(r34549)
> +++ trunk/gui/wm/ws.c	Thu Jan 12 17:01:32 2012	(r34550)
> @@ -273,13 +273,9 @@ void wsXInit(Display *mDisplay)
>          mp_msg(MSGT_GPLAYER, MSGL_INFO, MSGTR_WS_NoXshm);
>  
>  #ifdef CONFIG_XSHAPE
> -
>      if (!XShapeQueryExtension(wsDisplay, &eventbase, &errorbase))
> -        wsUseXShape = 0;
> -
> -#else
> -    wsUseXShape = 0;
>  #endif
> +    wsUseXShape = 0;

  I think this one is a bit questionable. It is more tricky to read and to modify
after that change. But no need to revert or anything. Just wanted to let you know.

  Alexander


More information about the MPlayer-cvslog mailing list