summaryrefslogtreecommitdiffstats
path: root/libvo
diff options
context:
space:
mode:
authorattila <attila@b3059339-0415-0410-9bf9-f77b7e298cf2>2009-06-19 20:21:58 +0000
committerattila <attila@b3059339-0415-0410-9bf9-f77b7e298cf2>2009-06-19 20:21:58 +0000
commitcdf00c3db319a6e66a72144927d35156fa27afab (patch)
tree14b449819d302ea33658ba0e5afdb4ae3133eb48 /libvo
parent38e32914646f9812738af697d509e57f83a086a0 (diff)
downloadmpv-cdf00c3db319a6e66a72144927d35156fa27afab.tar.bz2
mpv-cdf00c3db319a6e66a72144927d35156fa27afab.tar.xz
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
Diffstat (limited to 'libvo')
-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;