summaryrefslogtreecommitdiffstats
path: root/video/out/vo_sdl.c
diff options
context:
space:
mode:
Diffstat (limited to 'video/out/vo_sdl.c')
-rw-r--r--video/out/vo_sdl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/video/out/vo_sdl.c b/video/out/vo_sdl.c
index 66013e01f2..dd1e4a5053 100644
--- a/video/out/vo_sdl.c
+++ b/video/out/vo_sdl.c
@@ -541,7 +541,7 @@ static void check_events(struct vo *vo)
break;
case SDL_MOUSEBUTTONUP:
mplayer_put_key(vo->key_fifo,
- (MP_MOUSE_BTN0 + ev.button.button - 1));
+ (MP_MOUSE_BTN0 + ev.button.button - 1) | MP_KEY_STATE_UP);
break;
case SDL_MOUSEWHEEL:
break;