[MPlayer-cvslog] r20170 - trunk/libvo/vo_sdl.c
diego
subversion at mplayerhq.hu
Thu Oct 12 02:39:47 CEST 2006
Author: diego
Date: Thu Oct 12 02:39:47 2006
New Revision: 20170
Modified:
trunk/libvo/vo_sdl.c
Log:
Use MOUSE_BTN0 instead of MOUSE_BASE for consistency with other vo drivers.
patch by Laurent Wozniak, laurent.wozniak laposte net
Modified: trunk/libvo/vo_sdl.c
==============================================================================
--- trunk/libvo/vo_sdl.c (original)
+++ trunk/libvo/vo_sdl.c Thu Oct 12 02:39:47 2006
@@ -1190,15 +1190,15 @@
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 */
More information about the MPlayer-cvslog
mailing list