From cdf00c3db319a6e66a72144927d35156fa27afab Mon Sep 17 00:00:00 2001 From: attila Date: Fri, 19 Jun 2009 20:21:58 +0000 Subject: fix missing event on move that breaks xmga window movement broken in r28541 git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29374 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libvo/x11_common.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; -- cgit v1.2.3