# HG changeset patch # User ib # Date 1362264012 0 # Node ID a8368b5ce078f36bd0b802d9ce7acb0cc465eae5 # Parent 1dca5ff3d3c615d93fc752cb09323a61f8716cc5 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. diff -r 1dca5ff3d3c6 -r a8368b5ce078 libvo/x11_common.c --- 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)