handle constraint cursor hints better
This commit is contained in:
parent
bf78dcecf0
commit
62f4503f07
4 changed files with 41 additions and 9 deletions
|
|
@ -146,6 +146,9 @@ struct SConstraint {
|
|||
SMouse* pMouse = nullptr;
|
||||
wlr_pointer_constraint_v1* constraint = nullptr;
|
||||
|
||||
bool hintSet = false;
|
||||
Vector2D positionHint; // the position hint, but will be set to the current cursor pos if not set.
|
||||
|
||||
DYNLISTENER(setConstraintRegion);
|
||||
DYNLISTENER(destroyConstraint);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue