changeset 36293:c74ca4ce7103

Relocate wsEvents(). Put it behind all other calls, so that all events can be handled (if already in the event queue).
author ib
date Thu, 01 Aug 2013 17:36:21 +0000
parents d626e6b9fbc3
children a73127c786e8
files gui/interface.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/gui/interface.c	Thu Aug 01 17:34:54 2013 +0000
+++ b/gui/interface.c	Thu Aug 01 17:36:21 2013 +0000
@@ -843,9 +843,9 @@
 
             gui(GUI_SET_STATE, (void *)GUI_STOP);
 
-            wsEvents();
             wsWindowRedraw(&guiApp.videoWindow);
             wsMouseVisibility(&guiApp.videoWindow, wsShowMouseCursor);
+            wsEvents();
         }
 
         break;