diff options
author | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2007-01-21 11:05:21 +0000 |
---|---|---|
committer | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2007-01-21 11:05:21 +0000 |
commit | ff32ae1051778bb8a1904ab4f93d304208c666eb (patch) | |
tree | 8af216c68b6af6fc48cedecf4037dc993017f99a /libvo/x11_common.c | |
parent | 63b14952d2f616a75cadf2ee7b3b0f3d578218a1 (diff) | |
download | mpv-ff32ae1051778bb8a1904ab4f93d304208c666eb.tar.bz2 mpv-ff32ae1051778bb8a1904ab4f93d304208c666eb.tar.xz |
Move code to ignore mouse wheel "down" events to fifo.c (needed because
they too easily cause those "buttons" to get stuck), reducing code duplication.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21982 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo/x11_common.c')
-rw-r--r-- | libvo/x11_common.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/libvo/x11_common.c b/libvo/x11_common.c index 719eb43a42..3b2b821c0d 100644 --- a/libvo/x11_common.c +++ b/libvo/x11_common.c @@ -1106,12 +1106,6 @@ int vo_x11_check_events(Display * mydisplay) mouse_waiting_hide = 1; mouse_timer = GetTimerMS(); } - // Ignore mouse wheel press event. - if (Event.xbutton.button > 3) - { - mplayer_put_key(MOUSE_BTN0 + Event.xbutton.button - 1); - break; - } #ifdef HAVE_NEW_GUI // Ignore mouse button 1-3 under GUI. if (use_gui && (Event.xbutton.button >= 1) |