mirror of
https://github.com/mpv-player/mpv
synced 2025-01-16 03:51:48 +00:00
Revert "fix missing event on move that breaks xmga window movement"
The reverted commit had a harmful effect on other VOs as it produced bogus events that caused unnecessary load and flicker at least when moving the window while paused. A proper fix would need a separate event type. So revert this commit before merging the changes to the master branch; it'll leave xmga window movement broken, but I consider that less important than the other VOs.
This commit is contained in:
parent
cd6a9ea77a
commit
43079c51da
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user