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

reimar subversion at mplayerhq.hu
Sat Jul 10 19:57:10 CEST 2010


Author: reimar
Date: Sat Jul 10 19:57:10 2010
New Revision: 31672

Log:
100l, only set VO_EVENT_RESIZE on an actual resize, not just for movement.

Modified:
   trunk/libvo/x11_common.c

Modified: trunk/libvo/x11_common.c
==============================================================================
--- trunk/libvo/x11_common.c	Sat Jul 10 18:48:59 2010	(r31671)
+++ trunk/libvo/x11_common.c	Sat Jul 10 19:57:10 2010	(r31672)
@@ -797,9 +797,8 @@ static int mouse_waiting_hide;
 static int check_resize(void)
 {
     int old_w = vo_dwidth, old_h = vo_dheight;
-    int old_x = vo_dx,     old_y = vo_dy;
     vo_x11_update_geometry();
-    if (vo_dwidth != old_w || vo_dheight != old_h || vo_dx != old_x || vo_dy != old_y)
+    if (vo_dwidth != old_w || vo_dheight != old_h)
         return VO_EVENT_RESIZE;
     return 0;
 }


More information about the MPlayer-cvslog mailing list