# HG changeset patch # User pontscho # Date 1016021481 0 # Node ID 90b692d38826fe978b5d07a0f9dbb343dc995e42 # Parent 40a97bdff44c8271dc84646cb7c3fe5012a2828c upsz ... 10l :) diff -r 40a97bdff44c -r 90b692d38826 libvo/x11_common.c --- a/libvo/x11_common.c Wed Mar 13 10:59:20 2002 +0000 +++ b/libvo/x11_common.c Wed Mar 13 12:11:21 2002 +0000 @@ -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