aboutsummaryrefslogtreecommitdiffhomepage
path: root/libvo
diff options
context:
space:
mode:
authorGravatar diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-10-12 00:39:47 +0000
committerGravatar diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-10-12 00:39:47 +0000
commit35b960c206e3880e929cd75cb6876f568bd3ad54 (patch)
tree7622b65eec835bf18cab80b7f4c6c8669d4edef4 /libvo
parent4e9514a058bce4080182c6abe85aab31729ca704 (diff)
Use MOUSE_BTN0 instead of MOUSE_BASE for consistency with other vo drivers.
patch by Laurent Wozniak, laurent.wozniak laposte net git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20170 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo')
-rw-r--r--libvo/vo_sdl.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libvo/vo_sdl.c b/libvo/vo_sdl.c
index 032b844ad6..38866d29cc 100644
--- a/libvo/vo_sdl.c
+++ b/libvo/vo_sdl.c
@@ -1190,15 +1190,15 @@ static void check_events (void)
if(vo_nomouse_input)
break;
if(event.button.button == 4 || event.button.button == 5)
- mplayer_put_key(MOUSE_BASE+event.button.button-1);
+ mplayer_put_key(MOUSE_BTN0+event.button.button-1);
else
- mplayer_put_key((MOUSE_BASE+event.button.button-1) | MP_KEY_DOWN);
+ mplayer_put_key((MOUSE_BTN0+event.button.button-1) | MP_KEY_DOWN);
break;
case SDL_MOUSEBUTTONUP:
if(vo_nomouse_input)
break;
- mplayer_put_key(MOUSE_BASE+event.button.button-1);
+ mplayer_put_key(MOUSE_BTN0+event.button.button-1);
break;
/* graphics mode selection shortcuts */