enable passing in a workspace to node_at_coords and node_at_cursor

This commit is contained in:
madblobfish 2019-01-06 20:07:16 +01:00
parent 2a806e5157
commit 02f5a6f867
2 changed files with 15 additions and 10 deletions

View file

@ -68,7 +68,8 @@ 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);
struct sway_workspace *workspace, struct sway_cursor *cursor,
struct wlr_surface **surface, double *sx, double *sy);
/**
* "Rebase" a cursor on top of whatever view is underneath it.