Mercurial > mplayer.hg
changeset 5062:90b692d38826
upsz ... 10l :)
author | pontscho |
---|---|
date | Wed, 13 Mar 2002 12:11:21 +0000 |
parents | 40a97bdff44c |
children | be67d073f23b |
files | libvo/x11_common.c |
diffstat | 1 files changed, 8 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- 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