[MPlayer-cvslog] r28011 - trunk/libvo/vo_x11.c
reimar
subversion at mplayerhq.hu
Sun Nov 23 21:49:06 CET 2008
Author: reimar
Date: Sun Nov 23 21:49:05 2008
New Revision: 28011
Log:
Clear the whole window on resize in vo_x11 since we do not
yet know how large the borders will be.
Modified:
trunk/libvo/vo_x11.c
Modified: trunk/libvo/vo_x11.c
==============================================================================
--- trunk/libvo/vo_x11.c (original)
+++ trunk/libvo/vo_x11.c Sun Nov 23 21:49:05 2008
@@ -89,7 +89,9 @@ static void check_events(void)
{
int ret = vo_x11_check_events(mDisplay);
- if ((ret & VO_EVENT_RESIZE) || (ret & VO_EVENT_EXPOSE))
+ if (ret & VO_EVENT_RESIZE)
+ vo_x11_clearwindow(mDisplay, vo_window);
+ else if (ret & VO_EVENT_EXPOSE)
vo_x11_clearwindow_part(mDisplay, vo_window, myximage->width,
myximage->height, 0);
if (ret & VO_EVENT_EXPOSE && int_pause)
More information about the MPlayer-cvslog
mailing list