diff options
| author | Nathan Reiner <nathan@nathanreiner.xyz> | 2023-06-02 22:02:09 +0200 |
|---|---|---|
| committer | Nathan Reiner <nathan@nathanreiner.xyz> | 2023-06-02 22:02:09 +0200 |
| commit | 4a749913c628bc64da61ea4624f68e12ef1d8bb9 (patch) | |
| tree | 6d4692f2e1a0b5d7d58a92acb25893eb30dac83b /dwl.c | |
| parent | 4954ac6e9d0eb1e0adfd4853ee4048bf18e540a4 (diff) | |
make pointer constraints actually workmain
Diffstat (limited to 'dwl.c')
| -rw-r--r-- | dwl.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1258,8 +1258,8 @@ cursorwarptoconstrainthint(void) Client *c = NULL; toplevel_from_wlr_surface(constraint->surface, &c, NULL); if (c) { - lx -= c->geom.x; - ly -= c->geom.y; + lx += c->geom.x; + ly += c->geom.y; } wlr_cursor_warp(cursor, NULL, lx, ly); |