mpv/mpvcore
wm4 42fa7cbbf9 input: stay in current input section if mouse button is down
Normally, moving the mouse outside of the mouse area of an input section
will send mouse events somewhere else (because input section mouse areas
are similar to windows/widgets in real GUI toolkits). This was done even
if a mouse button was held down. This is quite different from how GUI
toolkits behave.

Change the code so that if a mouse button is down, the mouse area of the
current input section can't be left. Releasing the mouse button (while
the mouse pointer is outside of the mouse area) will actually leave the
mouse area.

As a side-effect, this commit also tests more often whether the current
mouse input section is valid. This is needed to make releasing a mouse
button trigger the mouse input section change.
2013-09-01 20:17:51 +02:00
..
input input: stay in current input section if mouse button is down 2013-09-01 20:17:51 +02:00
timeline core: add a playlist demuxer 2013-08-26 10:09:45 +02:00
asxparser.c core: add a playlist demuxer 2013-08-26 10:09:45 +02:00
asxparser.h
av_common.c
av_common.h
av_log.c
av_log.h
av_opts.c
av_opts.h
bstr.c bstr: make UTF-8 check stricter 2013-08-15 23:40:03 +02:00
bstr.h bstr: add UTF-8 validation and sanitation functions 2013-08-15 23:40:02 +02:00
charset_conv.c sub: don't print detected charset if it's UTF-8 2013-08-15 23:40:04 +02:00
charset_conv.h sub: don't print detected charset if it's UTF-8 2013-08-15 23:40:04 +02:00
codecs.c
codecs.h
command.c video: add unscaled mode with --video-unscaled 2013-09-01 03:46:28 +02:00
command.h
cpudetect.c
cpudetect.h
encode.h
encode_lavc.c
encode_lavc.h
m_config.c m_option: rename struct member named "new" 2013-08-19 13:03:08 +02:00
m_config.h
m_option.c audio: make internal audio format 0 an invalid format 2013-08-26 10:09:41 +02:00
m_option.h mplayer: start track IDs from 1 rather than 0 2013-08-21 18:32:42 +02:00
m_property.c
m_property.h
mp_common.c
mp_common.h
mp_core.h mp_core: declare seek_type enum outside of nested struct 2013-08-19 22:32:25 +02:00
mp_memory_barrier.h
mp_msg.c
mp_msg.h Some more mp_msg conversions 2013-08-23 23:30:09 +02:00
mp_osd.h
mp_ring.c
mp_ring.h
mp_talloc.h
mplayer.c core: add a playlist demuxer 2013-08-26 10:09:45 +02:00
mpv_global.h
options.c video: add unscaled mode with --video-unscaled 2013-09-01 03:46:28 +02:00
options.h video: add unscaled mode with --video-unscaled 2013-09-01 03:46:28 +02:00
parser-cfg.c
parser-cfg.h
parser-mpcmd.c core: add a playlist demuxer 2013-08-26 10:09:45 +02:00
parser-mpcmd.h
path.c
path.h
playlist.c
playlist.h
playlist_parser.c demux_playlist: port ini reference playlist parser 2013-08-28 23:08:10 +02:00
playlist_parser.h core: add a playlist demuxer 2013-08-26 10:09:45 +02:00
resolve.h
resolve_quvi.c
resolve_quvi9.c
screenshot.c
screenshot.h
version.c