mpv/mpvcore/input
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.c input: stay in current input section if mouse button is down 2013-09-01 20:17:51 +02:00
input.h input: add support for precise scroll axes 2013-08-07 22:15:39 +02:00
joystick.c
joystick.h
keycodes.h input: add some more X11 multimedia/internet keys 2013-09-01 20:17:51 +02:00
lirc.c
lirc.h