summaryrefslogtreecommitdiffstats
path: root/libvo/x11_common.c
diff options
context:
space:
mode:
Diffstat (limited to 'libvo/x11_common.c')
-rw-r--r--libvo/x11_common.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libvo/x11_common.c b/libvo/x11_common.c
index 883cae0e70..2e748a6767 100644
--- a/libvo/x11_common.c
+++ b/libvo/x11_common.c
@@ -846,8 +846,9 @@ int vo_x11_check_events(Display * mydisplay)
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;