summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libvo/x11_common.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/libvo/x11_common.c b/libvo/x11_common.c
index 2e748a6767..883cae0e70 100644
--- a/libvo/x11_common.c
+++ b/libvo/x11_common.c
@@ -846,9 +846,8 @@ 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 || vo_dx != old_x || vo_dy != old_y)
+ if (vo_dwidth != old_w || vo_dheight != old_h)
ret |= VO_EVENT_RESIZE;
}
break;