diff options
Diffstat (limited to 'libvo/vo_sdl.c')
-rw-r--r-- | libvo/vo_sdl.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libvo/vo_sdl.c b/libvo/vo_sdl.c index e36e2a8352..f65087bafa 100644 --- a/libvo/vo_sdl.c +++ b/libvo/vo_sdl.c @@ -1191,6 +1191,8 @@ static void check_events (void) break; case SDL_MOUSEBUTTONDOWN: + if(vo_nomouse_input) + break; if(event.button.button == 4 || event.button.button == 5) mplayer_put_key(MOUSE_BASE+event.button.button-1); else @@ -1198,6 +1200,8 @@ static void check_events (void) break; case SDL_MOUSEBUTTONUP: + if(vo_nomouse_input) + break; mplayer_put_key(MOUSE_BASE+event.button.button-1); break; |