From 43079c51daa8c12b0a44e5ad8022c979dd9e8336 Mon Sep 17 00:00:00 2001 From: Uoti Urpala Date: Tue, 7 Jul 2009 02:47:09 +0300 Subject: 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. --- libvo/x11_common.c | 3 +-- 1 file changed, 1 insertion(+), 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; -- cgit v1.2.3