mirror of
https://github.com/mpv-player/mpv
synced 2025-04-01 00:07:33 +00:00
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
This commit is contained in:
parent
38e3291464
commit
cdf00c3db3
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user