aboutsummaryrefslogtreecommitdiff
path: root/sway/input/cursor.c
diff options
context:
space:
mode:
authorTony Crisci <tony@dubstepdish.com>2018-03-29 21:19:57 -0400
committerTony Crisci <tony@dubstepdish.com>2018-03-29 21:22:39 -0400
commit4c394a0e9ee04b46ed349f7b3ddf67c53719b3b6 (patch)
tree0833690f34940296a9cbd6b3dd4ba682d0713370 /sway/input/cursor.c
parent4ec8bf4ceead0b78407c92bf90a42b95740123f9 (diff)
address feedback
Diffstat (limited to 'sway/input/cursor.c')
-rw-r--r--sway/input/cursor.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sway/input/cursor.c b/sway/input/cursor.c
index a0e4b9be..d57ac3e3 100644
--- a/sway/input/cursor.c
+++ b/sway/input/cursor.c
@@ -50,7 +50,7 @@ static void cursor_send_pointer_motion(struct sway_cursor *cursor,
}
struct sway_container *swayc =
- sway_container_at(&root_container, cursor->x, cursor->y, &surface, &sx, &sy);
+ container_at(&root_container, cursor->x, cursor->y, &surface, &sx, &sy);
if (swayc) {
wlr_seat_pointer_notify_enter(seat, surface, sx, sy);
wlr_seat_pointer_notify_motion(seat, time, sx, sy);
@@ -88,7 +88,7 @@ static void handle_cursor_button(struct wl_listener *listener, void *data) {
struct wlr_surface *surface = NULL;
double sx, sy;
struct sway_container *swayc =
- sway_container_at(&root_container, cursor->x, cursor->y, &surface, &sx, &sy);
+ container_at(&root_container, cursor->x, cursor->y, &surface, &sx, &sy);
sway_seat_set_focus(cursor->seat, swayc);
}