diff options
-rw-r--r-- | libvo/vo_xmga.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libvo/vo_xmga.c b/libvo/vo_xmga.c index a9e8282d53..49e23b8e0e 100644 --- a/libvo/vo_xmga.c +++ b/libvo/vo_xmga.c @@ -93,10 +93,10 @@ static void check_events(void) { 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) |