refactor node_at_coords into node_at_cursor

This commit is contained in:
madblobfish 2019-01-06 20:04:32 +01:00
parent f5190d1f79
commit 2a806e5157
2 changed files with 15 additions and 6 deletions

View file

@ -66,6 +66,10 @@ struct sway_node *node_at_coords(
void sway_cursor_destroy(struct sway_cursor *cursor);
struct sway_cursor *sway_cursor_create(struct sway_seat *seat);
struct sway_node *node_at_cursor(struct sway_seat *seat,
struct sway_cursor *cursor, double *sx, double *sy);
/**
* "Rebase" a cursor on top of whatever view is underneath it.
*