Skip to content

Commit

Permalink
Remove references to Sway in comments, and remove commented code.
Browse files Browse the repository at this point in the history
  • Loading branch information
vanfanel committed Feb 12, 2024
1 parent 7bf842f commit 1913ba7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions seat.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}
}
Expand All @@ -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)
{
Expand Down

0 comments on commit 1913ba7

Please sign in to comment.