changeset 35835:a8368b5ce078

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.
author ib
date Sat, 02 Mar 2013 22:40:12 +0000
parents 1dca5ff3d3c6
children 74a16459f5e5
files libvo/x11_common.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libvo/x11_common.c	Sat Mar 02 09:54:18 2013 +0000
+++ b/libvo/x11_common.c	Sat Mar 02 22:40:12 2013 +0000
@@ -679,7 +679,7 @@
     int mformat;
     unsigned long mn, mb;
 
-    if (!WinID)
+    if (WinID >= 0)
         return;
 
     if (vo_fsmode & 8)