seat: track pressed pointer buttons
releases them on leave, unless there is a dnd going on
This commit is contained in:
parent
1360677478
commit
785d062887
2 changed files with 28 additions and 0 deletions
|
|
@ -76,6 +76,8 @@ class CWLPointerResource {
|
|||
SP<CWlPointer> resource;
|
||||
WP<CWLSurfaceResource> currentSurface;
|
||||
|
||||
std::vector<uint32_t> pressedButtons;
|
||||
|
||||
struct {
|
||||
CHyprSignalListener destroySurface;
|
||||
} listeners;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue