diff options
author | 2018-10-04 20:57:03 +1000 | |
---|---|---|
committer | 2018-10-04 20:57:03 +1000 | |
commit | 4feedbf7cf5e90574953aea81f7a6583135246c4 (patch) | |
tree | 0d4a9d77e5c3112cc9ba9494dd496a33beab1da2 /swaylock/pam.c | |
parent | Merge pull request #2759 from minus7/fix-view-container-null (diff) | |
download | sway-4feedbf7cf5e90574953aea81f7a6583135246c4.tar.gz sway-4feedbf7cf5e90574953aea81f7a6583135246c4.tar.zst sway-4feedbf7cf5e90574953aea81f7a6583135246c4.zip |
Ignore unrelated cursor buttons while doing seat operations
* Click and hold a scrollbar
* Drag the cursor onto another surface
* While still holding the original button, press and release another
cursor button
* Things get weird
There's two ways to fix this. Either cancel the seat operation and do
the other click, or continue the seat operation and ignore the other
click. I opted for the latter (ignoring the click) because it's easier
to implement, and I suspect a second click during a seat operation is
probably unintentional anyway.
Diffstat (limited to 'swaylock/pam.c')
0 files changed, 0 insertions, 0 deletions