aboutsummaryrefslogtreecommitdiff
path: root/include/sway/input/cursor.h
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2019-01-13 20:38:34 -0500
committerGitHub <noreply@github.com>2019-01-13 20:38:34 -0500
commit23ab56bbf746e7aa4a940caa343d447a969fa37e (patch)
tree087201fd4d39c3a551c925c4f5479311e10e6623 /include/sway/input/cursor.h
parent08569aab36837bf1a43c9c7c8445aa13dc78a814 (diff)
parented5aafd90bd850ad27dcb36ac4438ed926480394 (diff)
downloadsway-23ab56bbf746e7aa4a940caa343d447a969fa37e.tar.xz
Merge pull request #3402 from RyanDwyer/refactor-seatops
Refactor seat operations to use an interface
Diffstat (limited to 'include/sway/input/cursor.h')
-rw-r--r--include/sway/input/cursor.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/sway/input/cursor.h b/include/sway/input/cursor.h
index 4636bf6b..9f699dcd 100644
--- a/include/sway/input/cursor.h
+++ b/include/sway/input/cursor.h
@@ -50,6 +50,12 @@ struct sway_cursor {
size_t pressed_button_count;
};
+struct sway_node;
+
+struct sway_node *node_at_coords(
+ struct sway_seat *seat, double lx, double ly,
+ struct wlr_surface **surface, double *sx, double *sy);
+
void sway_cursor_destroy(struct sway_cursor *cursor);
struct sway_cursor *sway_cursor_create(struct sway_seat *seat);