[MPlayer-dev-eng] Quick fix to new input method

D J Hawkey Jr hawkeyd at visi.com
Sun Sep 8 14:20:37 CEST 2002


Hi. Maybe you remember me, maybe you don't.

A quick fix for your new input method (MPlayer-0.90pre7):

--- x11_common.c.orig	Tue Sep  3 13:10:42 2002
+++ x11_common.c	Sun Sep  8 06:45:08 2002
@@ -515,13 +515,6 @@
  while ( XPending( mydisplay ) )
   {
    XNextEvent( mydisplay,&Event );
-   #ifdef HAVE_NEW_GUI
-    if ( use_gui ) 
-     {
-      guiGetEvent( 0,(char*)&Event );
-      if ( vo_window != Event.xany.window ) continue;
-     }
-   #endif
 //       printf("\rEvent.type=%X  \n",Event.type);
     switch( Event.type )
      {

Without this, the event loop in DISTROOT/mplayer.c processess events
twice when mplayer is built with the GUI, which hoses up togglable
things like fullscreen and mute.

I don't care if I'm not following your patch-submission protocol; either
you'll fix this problem or you won't. IMO, your protocol is unreasonable.

Dave

-- 
  ______________________                         ______________________
  \__________________   \    D. J. HAWKEY JR.   /   __________________/
     \________________/\     hawkeyd at visi.com    /\________________/
                      http://www.visi.com/~hawkeyd/




More information about the MPlayer-dev-eng mailing list