[Mplayer-cvslog] CVS: main/libvo x11_common.c,1.61,1.62

Zoltan Ponekker pontscho at mplayer.dev.hu
Wed Mar 13 13:11:23 CET 2002


Update of /cvsroot/mplayer/main/libvo
In directory mplayer:/var/tmp.root/cvs-serv28378

Modified Files:
	x11_common.c 
Log Message:
upsz ... 10l :)

Index: x11_common.c
===================================================================
RCS file: /cvsroot/mplayer/main/libvo/x11_common.c,v
retrieving revision 1.61
retrieving revision 1.62
diff -u -r1.61 -r1.62
--- x11_common.c	13 Mar 2002 10:59:20 -0000	1.61
+++ x11_common.c	13 Mar 2002 12:11:21 -0000	1.62
@@ -507,13 +507,17 @@
       case ButtonPress:
            // Ignore mouse whell press event
            if(Event.xbutton.button == 4 || Event.xbutton.button == 5) break;
-	   // Ignor mouse button 1 - 3 under gui 
-	   if ( use_gui && ( Event.xbutton.button >= 1 )&&( Event.xbutton.button <= 3 ) ) break;
+	   #ifdef HAVE_NEW_GUI
+	    // Ignor mouse button 1 - 3 under gui 
+	    if ( use_gui && ( Event.xbutton.button >= 1 )&&( Event.xbutton.button <= 3 ) ) break;
+	   #endif
            mplayer_put_key((MOUSE_BTN0+Event.xbutton.button-1)|MP_KEY_DOWN);
            break;
       case ButtonRelease:
-	   // Ignor mouse button 1 - 3 under gui 
-	   if ( use_gui && ( Event.xbutton.button >= 1 )&&( Event.xbutton.button <= 3 ) ) break;
+           #ifdef HAVE_NEW_GUI
+	    // Ignor mouse button 1 - 3 under gui 
+	    if ( use_gui && ( Event.xbutton.button >= 1 )&&( Event.xbutton.button <= 3 ) ) break;
+	   #endif
            mplayer_put_key(MOUSE_BTN0+Event.xbutton.button-1);
            break;
 #endif




More information about the MPlayer-cvslog mailing list