# HG changeset patch # User ib # Date 1326384092 0 # Node ID f305c10d20f8ae0ac46acc9468f6efda8ef1c9df # Parent e3d6a010e8ae68e37dbb13742aaab087cc53bcca Simplify XShape handling and setting of wsUseXShape. diff -r e3d6a010e8ae -r f305c10d20f8 gui/wm/ws.c --- a/gui/wm/ws.c Thu Jan 12 15:53:20 2012 +0000 +++ b/gui/wm/ws.c Thu Jan 12 16:01:32 2012 +0000 @@ -273,13 +273,9 @@ mp_msg(MSGT_GPLAYER, MSGL_INFO, MSGTR_WS_NoXshm); #ifdef CONFIG_XSHAPE - if (!XShapeQueryExtension(wsDisplay, &eventbase, &errorbase)) - wsUseXShape = 0; - -#else +#endif wsUseXShape = 0; -#endif if (!wsUseXShape) mp_msg(MSGT_GPLAYER, MSGL_WARN, MSGTR_WS_NoXshape);