diff options
author | Uoti Urpala <uau@glyph.nonexistent.invalid> | 2009-07-07 02:47:09 +0300 |
---|---|---|
committer | Uoti Urpala <uau@glyph.nonexistent.invalid> | 2009-07-07 02:47:09 +0300 |
commit | 43079c51daa8c12b0a44e5ad8022c979dd9e8336 (patch) | |
tree | f010d97c956dae04545c1e4aa59760f64b5693fe /libvo | |
parent | cd6a9ea77a9535542ec4e979ba239b176ba7d258 (diff) | |
download | mpv-43079c51daa8c12b0a44e5ad8022c979dd9e8336.tar.bz2 mpv-43079c51daa8c12b0a44e5ad8022c979dd9e8336.tar.xz |
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.
Diffstat (limited to 'libvo')
-rw-r--r-- | libvo/x11_common.c | 3 |
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; |