# HG changeset patch # User reimar # Date 1286623477 0 # Node ID 79b1264388b3dd4eacaaf7ee23f6d0e0c4d1f2c3 # Parent b2447ebbcc013fb5648d309651edf4a78a1b20d2 Fix xmga event handling: Reconfigure hardware on move and resize, redraw colorkey on resize and expose. diff -r b2447ebbcc01 -r 79b1264388b3 libvo/vo_xmga.c --- a/libvo/vo_xmga.c Sat Oct 09 11:20:51 2010 +0000 +++ b/libvo/vo_xmga.c Sat Oct 09 11:24:37 2010 +0000 @@ -93,10 +93,10 @@ { int e = vo_x11_check_events(mDisplay); - if (!(e & VO_EVENT_RESIZE) && !(e & VO_EVENT_EXPOSE)) - return; - set_window(); - mDrawColorKey(); + if (e & (VO_EVENT_RESIZE | VO_EVENT_MOVE)) + set_window(); + if (e & (VO_EVENT_RESIZE | VO_EVENT_EXPOSE)) + mDrawColorKey(); } static void flip_page(void)