diff options
author | Dudemanguy <random342@airmail.cc> | 2020-11-07 13:47:26 -0600 |
---|---|---|
committer | Dudemanguy <random342@airmail.cc> | 2020-11-08 15:59:09 +0000 |
commit | cf00b0b990fce8ab128034fc4084d86e92cfbd4f (patch) | |
tree | a2c709f8794f2d3a833deea957a402f3f171b765 /video/mp_image_pool.h | |
parent | dae6b1be967b6767409005e6edc7a8021fd98fe8 (diff) | |
download | mpv-cf00b0b990fce8ab128034fc4084d86e92cfbd4f.tar.bz2 mpv-cf00b0b990fce8ab128034fc4084d86e92cfbd4f.tar.xz |
wayland: check for modifier keys on pointer events
The pointer button event had no code to handle any modifier keys. So
this meant input combinations like Shift+MTBN_LEFT did not work. Fix
this by ripping out the modifier-checking code in keyboard key event to
a separate function and using it for both the keyboard and mouse events.
In the case of the mouse, it is possible that the keyboard may not exist
so be sure to check before trying to get any modifiers. Fixes #8239.
Diffstat (limited to 'video/mp_image_pool.h')
0 files changed, 0 insertions, 0 deletions