mpv/mpvcore
wm4 1136a8b6ac input: don't emit command when using multiple mouse buttons at once
This is for key bindings that use multiple mouse buttons at once. (Yes,
this is weird, but MPlayer always had this feature, and apparently
there are people using it!)

Before this commit, clicking another mouse button while still holding
the previous mouse button forced the command bound to the previous
mouse button to be emitted. This is usually needed to make sure the
input consumer (the player and the OSC) stays in sync with the actual
mouse button state. If there's no command sent, the OSC in particular
would think the button is still held down. However, sending the command
is undesired behavior if you want to use these multiple-key binds.

Solve this by emitting commands in this situation only if a key down
command was sent earlier. Since mouse button key bindings are normally
executed on key-up only, this happens with special commands like
script_dispatch only (used by the OSD to track mouse buttons, but
also used for other OSC bindings).

See github issue #390.
2013-12-01 18:05:08 +01:00
..
input input: don't emit command when using multiple mouse buttons at once 2013-12-01 18:05:08 +01:00
player command: add a revert_seek command 2013-12-01 02:07:32 +01:00
asxparser.c
asxparser.h
av_common.c video: refactor PTS code, add fall back heuristic to DTS 2013-11-27 21:14:39 +01:00
av_common.h video: refactor PTS code, add fall back heuristic to DTS 2013-11-27 21:14:39 +01:00
av_log.c configure: uniform the defines to #define HAVE_xxx (0|1) 2013-11-03 21:59:54 +01:00
av_log.h
av_opts.c
av_opts.h
bstr.c
bstr.h
charset_conv.c configure: uniform the defines to #define HAVE_xxx (0|1) 2013-11-03 21:59:54 +01:00
charset_conv.h
codecs.c
codecs.h
cpudetect.c
cpudetect.h
encode.h Split mplayer.c 2013-10-30 01:53:53 +01:00
encode_lavc.c Take care of some libavutil deprecations, drop support for FFmpeg 1.0 2013-11-29 17:39:57 +01:00
encode_lavc.h Take care of some libavutil deprecations, drop support for FFmpeg 1.0 2013-11-29 17:39:57 +01:00
m_config.c options: add options that set defaults for af/vf/ao/vo 2013-12-01 00:12:10 +01:00
m_config.h options: add options that set defaults for af/vf/ao/vo 2013-12-01 00:12:10 +01:00
m_option.c options: provide a way for --vf to print custom help 2013-11-23 21:29:05 +01:00
m_option.h input: use separate type for command definitions 2013-11-28 19:04:16 +01:00
m_property.c
m_property.h
mp_common.c
mp_common.h Reduce stheader.h includes, move stream types to mp_common.h 2013-11-23 22:08:42 +01:00
mp_memory_barrier.h
mp_msg.c
mp_msg.h
mp_ring.c mp_ring: fix comment typo 2013-11-22 19:12:43 +01:00
mp_ring.h mp_ring: remove unused function 2013-11-15 21:08:48 +01:00
mp_talloc.h mp_talloc: simplify a bit 2013-10-19 21:43:08 +02:00
mpv_global.h
options.c options: add options that set defaults for af/vf/ao/vo 2013-12-01 00:12:10 +01:00
options.h options: add options that set defaults for af/vf/ao/vo 2013-12-01 00:12:10 +01:00
parser-cfg.c
parser-cfg.h
parser-mpcmd.c options: don't let watch_later etc. overwite command line options 2013-10-25 22:52:54 +02:00
parser-mpcmd.h
path.c configure: uniform the defines to #define HAVE_xxx (0|1) 2013-11-03 21:59:54 +01:00
path.h Split mplayer.c 2013-10-30 01:53:53 +01:00
playlist.c
playlist.h
playlist_parser.c playlist: rewrite PLS parser 2013-11-04 23:55:41 +01:00
playlist_parser.h
resolve.h
resolve_quvi.c
resolve_quvi9.c
version.c