[MPlayer-cvslog] r35929 - trunk/libvo/x11_common.c

ib subversion at mplayerhq.hu
Sat Mar 2 23:40:12 CET 2013


Author: ib
Date: Sat Mar  2 23:40:12 2013
New Revision: 35929

Log:
Don't modify a -wid window's decoration.

vo_x11_decoration() is called by vo_x11_border(), called in case of
a VOCTRL_BORDER control. The window's border must not be modified if
MPlayer is attached to an existing window.

Modified:
   trunk/libvo/x11_common.c

Modified: trunk/libvo/x11_common.c
==============================================================================
--- trunk/libvo/x11_common.c	Sat Mar  2 10:54:18 2013	(r35928)
+++ trunk/libvo/x11_common.c	Sat Mar  2 23:40:12 2013	(r35929)
@@ -679,7 +679,7 @@ void vo_x11_decoration(Display * vo_Disp
     int mformat;
     unsigned long mn, mb;
 
-    if (!WinID)
+    if (WinID >= 0)
         return;
 
     if (vo_fsmode & 8)


More information about the MPlayer-cvslog mailing list