From 1913ba7876e03b92cd35a085351cc921dab236b0 Mon Sep 17 00:00:00 2001 From: vanfanel Date: Mon, 12 Feb 2024 20:16:12 +0100 Subject: [PATCH] Remove references to Sway in comments, and remove commented code. --- seat.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/seat.c b/seat.c index 2350810a..1c7b953b 100644 --- a/seat.c +++ b/seat.c @@ -699,7 +699,6 @@ check_constraint_region(struct cg_seat *seat) double sy = (boxes[0].y1 + boxes[0].y2) / 2.; wlr_cursor_warp_closest(seat->cursor, NULL, sx, sy); - // cursor_rebase(seat); } } } @@ -723,7 +722,7 @@ handle_constraint_commit(struct wl_listener *listener, void *data) } /* This is where active_constraint is assigned. Also remember that everything - * Sway has in sway_cursor is in cg_seat, because in Cage there's only a cursor per seat. */ + * regarding cursor is in cg_seat, because in Cage there's only a cursor per seat. */ void cg_cursor_constrain(struct cg_seat *seat, struct wlr_pointer_constraint_v1 *constraint) {