Mercurial > mplayer.hg
comparison libvo/x11_common.c @ 5062:90b692d38826
upsz ... 10l :)
author | pontscho |
---|---|
date | Wed, 13 Mar 2002 12:11:21 +0000 |
parents | 40a97bdff44c |
children | 70725449c947 |
comparison
equal
deleted
inserted
replaced
5061:40a97bdff44c | 5062:90b692d38826 |
---|---|
505 break; | 505 break; |
506 #ifdef HAVE_NEW_INPUT | 506 #ifdef HAVE_NEW_INPUT |
507 case ButtonPress: | 507 case ButtonPress: |
508 // Ignore mouse whell press event | 508 // Ignore mouse whell press event |
509 if(Event.xbutton.button == 4 || Event.xbutton.button == 5) break; | 509 if(Event.xbutton.button == 4 || Event.xbutton.button == 5) break; |
510 // Ignor mouse button 1 - 3 under gui | 510 #ifdef HAVE_NEW_GUI |
511 if ( use_gui && ( Event.xbutton.button >= 1 )&&( Event.xbutton.button <= 3 ) ) break; | 511 // Ignor mouse button 1 - 3 under gui |
512 if ( use_gui && ( Event.xbutton.button >= 1 )&&( Event.xbutton.button <= 3 ) ) break; | |
513 #endif | |
512 mplayer_put_key((MOUSE_BTN0+Event.xbutton.button-1)|MP_KEY_DOWN); | 514 mplayer_put_key((MOUSE_BTN0+Event.xbutton.button-1)|MP_KEY_DOWN); |
513 break; | 515 break; |
514 case ButtonRelease: | 516 case ButtonRelease: |
515 // Ignor mouse button 1 - 3 under gui | 517 #ifdef HAVE_NEW_GUI |
516 if ( use_gui && ( Event.xbutton.button >= 1 )&&( Event.xbutton.button <= 3 ) ) break; | 518 // Ignor mouse button 1 - 3 under gui |
519 if ( use_gui && ( Event.xbutton.button >= 1 )&&( Event.xbutton.button <= 3 ) ) break; | |
520 #endif | |
517 mplayer_put_key(MOUSE_BTN0+Event.xbutton.button-1); | 521 mplayer_put_key(MOUSE_BTN0+Event.xbutton.button-1); |
518 break; | 522 break; |
519 #endif | 523 #endif |
520 } | 524 } |
521 } | 525 } |