diff options
author | emersion <contact@emersion.fr> | 2019-03-01 09:35:11 +0100 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2019-03-01 12:36:19 -0700 |
commit | e8f012c993e0584f8c7eb4ff1bb6367bd9f30f9e (patch) | |
tree | b9889c1a90797d29722f06be138f6d2e59209147 /include/wlr/backend/headless.h | |
parent | 2fde5c95d887406e2ffa561f127ba6ddee521b33 (diff) |
seat: only store serial if pressing a button
The grab serial can be used to start a pointer grab. A button pressed event
should be used for this purpose.
Thus, we should only save the grab serial if it's the first button pressed
event we send. This commit makes it so the serial is not saved if a button is
released while another button is still pressed.
Diffstat (limited to 'include/wlr/backend/headless.h')
0 files changed, 0 insertions, 0 deletions