diff options
| author | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2023-09-04 17:34:19 +0200 |
|---|---|---|
| committer | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2023-09-04 17:34:19 +0200 |
| commit | d9937fcdba978af4f36be6cb20311e08f43841f5 (patch) | |
| tree | fa6eabe334287e4d7149bcdc0d66d88a52e62965 /src/helpers/WLClasses.hpp | |
| parent | e3c83ab2e000e2d4fd01f5ada5e9eae91237bb41 (diff) | |
input: minor constraint fixes
fixes the confined region, warping issues, etc. Closes #3158
Diffstat (limited to 'src/helpers/WLClasses.hpp')
| -rw-r--r-- | src/helpers/WLClasses.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/helpers/WLClasses.hpp b/src/helpers/WLClasses.hpp index dca7f1e0..84f6d898 100644 --- a/src/helpers/WLClasses.hpp +++ b/src/helpers/WLClasses.hpp @@ -168,8 +168,8 @@ struct SConstraint { bool active = false; - bool hintSet = false; - Vector2D positionHint; // the position hint, but will be set to the current cursor pos if not set. + bool hintSet = false; + Vector2D positionHint = {-1, -1}; // the position hint, but will be set to the current cursor pos if not set. DYNLISTENER(setConstraintRegion); DYNLISTENER(destroyConstraint); |
