mirror of
https://github.com/swaywm/sway.git
synced 2026-04-28 06:46:26 -04:00
refactor node_at_coords into node_at_cursor
This commit is contained in:
parent
f5190d1f79
commit
2a806e5157
2 changed files with 15 additions and 6 deletions
|
|
@ -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.
|
||||
*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue