Skip to content

Commit 1913ba7

Browse files
committed
Remove references to Sway in comments, and remove commented code.
1 parent 7bf842f commit 1913ba7

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

seat.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -699,7 +699,6 @@ check_constraint_region(struct cg_seat *seat)
699699
double sy = (boxes[0].y1 + boxes[0].y2) / 2.;
700700

701701
wlr_cursor_warp_closest(seat->cursor, NULL, sx, sy);
702-
// cursor_rebase(seat);
703702
}
704703
}
705704
}
@@ -723,7 +722,7 @@ handle_constraint_commit(struct wl_listener *listener, void *data)
723722
}
724723

725724
/* This is where active_constraint is assigned. Also remember that everything
726-
* Sway has in sway_cursor is in cg_seat, because in Cage there's only a cursor per seat. */
725+
* regarding cursor is in cg_seat, because in Cage there's only a cursor per seat. */
727726
void
728727
cg_cursor_constrain(struct cg_seat *seat, struct wlr_pointer_constraint_v1 *constraint)
729728
{

0 commit comments

Comments
 (0)