[MPlayer-cvslog] r36387 - in trunk/gui/ui: main.c menu.c playbar.c video.c

ib subversion at mplayerhq.hu
Thu Aug 1 19:29:48 CEST 2013


Author: ib
Date: Thu Aug  1 19:29:47 2013
New Revision: 36387

Log:
Process events after destroying a window.

This allows other windows to get their expose events.

Modified:
   trunk/gui/ui/main.c
   trunk/gui/ui/menu.c
   trunk/gui/ui/playbar.c
   trunk/gui/ui/video.c

Modified: trunk/gui/ui/main.c
==============================================================================
--- trunk/gui/ui/main.c	Thu Aug  1 19:25:58 2013	(r36386)
+++ trunk/gui/ui/main.c	Thu Aug  1 19:29:47 2013	(r36387)
@@ -365,4 +365,5 @@ void uiMainDone (void)
 {
   nfree(mainDrawBuffer);
   wsWindowDestroy(&guiApp.mainWindow);
+  wsEvents();
 }

Modified: trunk/gui/ui/menu.c
==============================================================================
--- trunk/gui/ui/menu.c	Thu Aug  1 19:25:58 2013	(r36386)
+++ trunk/gui/ui/menu.c	Thu Aug  1 19:29:47 2013	(r36387)
@@ -130,6 +130,7 @@ void uiMenuDone( void )
 {
   nfree(menuDrawBuffer);
   wsWindowDestroy(&guiApp.menuWindow);
+  wsEvents();
 }
 
 void uiMenuShow( int mx,int my )

Modified: trunk/gui/ui/playbar.c
==============================================================================
--- trunk/gui/ui/playbar.c	Thu Aug  1 19:25:58 2013	(r36386)
+++ trunk/gui/ui/playbar.c	Thu Aug  1 19:29:47 2013	(r36387)
@@ -262,6 +262,7 @@ void uiPlaybarDone( void )
 {
   nfree(playbarDrawBuffer);
   wsWindowDestroy(&guiApp.playbarWindow);
+  wsEvents();
 }
 
 void uiPlaybarShow( int y )

Modified: trunk/gui/ui/video.c
==============================================================================
--- trunk/gui/ui/video.c	Thu Aug  1 19:25:58 2013	(r36386)
+++ trunk/gui/ui/video.c	Thu Aug  1 19:29:47 2013	(r36387)
@@ -130,4 +130,5 @@ void uiVideoInit (void)
 void uiVideoDone (void)
 {
   wsWindowDestroy(&guiApp.videoWindow);
+  wsEvents();
 }


More information about the MPlayer-cvslog mailing list