diff options
-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); |