[MPlayer-cvslog] r27915 - trunk/libvo/vo_x11.c
reimar
subversion at mplayerhq.hu
Sat Nov 15 17:34:44 CET 2008
Author: reimar
Date: Sat Nov 15 17:34:44 2008
New Revision: 27915
Log:
vo_x11: do not replace the vo_gc created by the Gui.
Modified:
trunk/libvo/vo_x11.c
Modified: trunk/libvo/vo_x11.c
==============================================================================
--- trunk/libvo/vo_x11.c (original)
+++ trunk/libvo/vo_x11.c Sat Nov 15 17:34:44 2008
@@ -441,6 +441,9 @@ static int config(uint32_t width, uint32
flags, theCmap, "x11", title);
}
+ if (vo_gc != None)
+ XFreeGC(mDisplay, vo_gc);
+ vo_gc = XCreateGC(mDisplay, vo_window, 0L, &xgcv);
XSync(mDisplay, False);
vo_x11_selectinput_witherr(mDisplay, vo_window,
@@ -464,10 +467,6 @@ static int config(uint32_t width, uint32
#endif
}
- if (vo_gc != None)
- XFreeGC(mDisplay, vo_gc);
- vo_gc = XCreateGC(mDisplay, vo_window, 0L, &xgcv);
-
if (myximage)
{
freeMyXImage();
More information about the MPlayer-cvslog
mailing list