[MPlayer-cvslog] r38075 - trunk/gui/interface.c
    ib 
    subversion at mplayerhq.hu
       
    Fri Apr 13 11:46:49 EEST 2018
    
    
  
Author: ib
Date: Fri Apr 13 11:46:49 2018
New Revision: 38075
Log:
Improve gmp_msg().
Handle X events prior to a MSGBOX_FATAL, because gtkMessageBox()
will block the main window while it is showing the message box.
Modified:
   trunk/gui/interface.c
Modified: trunk/gui/interface.c
==============================================================================
--- trunk/gui/interface.c	Thu Apr 12 16:00:10 2018	(r38074)
+++ trunk/gui/interface.c	Fri Apr 13 11:46:49 2018	(r38075)
@@ -1447,6 +1447,8 @@ void gmp_msg(int mod, int lev, const cha
 
     mp_msg(mod, lev, "%s", msg);
 
-    if (mp_msg_test(mod, lev))
+    if (mp_msg_test(mod, lev)) {
+        wsEvents();
         gtkMessageBox(MSGBOX_FATAL, msg);
+    }
 }
    
    
More information about the MPlayer-cvslog
mailing list