changeset 33959:ef089a8affc6

Perform a wsHandleEvents() when playback ends. This fixes a redraw problem with the subwindow (video window) image that could appear twice (on a wrong position).
author ib
date Thu, 01 Sep 2011 19:14:11 +0000
parents b4593947fc31
children 1cd81338af07
files gui/interface.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/gui/interface.c	Thu Sep 01 19:08:07 2011 +0000
+++ b/gui/interface.c	Thu Sep 01 19:14:11 2011 +0000
@@ -814,6 +814,8 @@
                 wsVisibleWindow(&guiApp.subWindow, wsHideWindow);
 
             gui(GUI_SET_STATE, (void *)GUI_STOP);
+
+            wsHandleEvents();
             uiSubRender = 1;
             wsSetBackgroundRGB(&guiApp.subWindow, guiApp.sub.R, guiApp.sub.G, guiApp.sub.B);
             wsClearWindow(guiApp.subWindow);