diff options
author | wm4 <wm4@nowhere> | 2013-09-02 02:26:41 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-09-08 01:49:59 +0200 |
commit | 6c19067362e28cd53619355830854e85e8385e99 (patch) | |
tree | b720d3932251e4087348cce252471c0e21a0688d /configure | |
parent | 5f00c3cf20c10ad4a9ae403550b18f35d9317df5 (diff) | |
download | mpv-6c19067362e28cd53619355830854e85e8385e99.tar.bz2 mpv-6c19067362e28cd53619355830854e85e8385e99.tar.xz |
input: redo what input events can be dropped
Until now, any command was dropped as soon as the input queue was full,
and the command was not an abort command (i.e. a command that exits the
player or goes to the next file).
This could cause issues with key down events (especially mouse buttons)
not being released.
Change it so that key up events can never be dropped. This is a bit
involved, because we know whether a key maps to an abort command only
after interpreting it, and interpreting it changes global state, which
in turn requires undoing the event if the input is dropped. Refactor
the code a bit to move more functionality into interpret_key() to make
this easier.
Diffstat (limited to 'configure')
0 files changed, 0 insertions, 0 deletions