changeset 29332:183e5a970176

fix missing event on move that breaks xmga window movement broken in r28541
author attila
date Fri, 19 Jun 2009 20:21:58 +0000
parents 65a34695d03a
children 09938ba82991
files libvo/x11_common.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libvo/x11_common.c	Fri Jun 19 15:29:51 2009 +0000
+++ b/libvo/x11_common.c	Fri Jun 19 20:21:58 2009 +0000
@@ -846,8 +846,9 @@
                     break;
                 {
                     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)
+                    if (vo_dwidth != old_w || vo_dheight != old_h || vo_dx != old_x || vo_dy != old_y)
                         ret |= VO_EVENT_RESIZE;
                 }
                 break;