diff options
author | Drew DeVault <sir@cmpwn.com> | 2018-04-03 21:25:42 -0400 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2018-04-04 18:47:48 -0400 |
commit | d2d050d59cf19c583b100e6e3637ed9a06a8863f (patch) | |
tree | e7b42d8f1c6aaae6beb004a71dd49933abbc2af3 /sway/input/cursor.c | |
parent | Add hidpi support to swaylock (diff) | |
download | sway-d2d050d59cf19c583b100e6e3637ed9a06a8863f.tar.gz sway-d2d050d59cf19c583b100e6e3637ed9a06a8863f.tar.zst sway-d2d050d59cf19c583b100e6e3637ed9a06a8863f.zip |
Address review feedback
Diffstat (limited to 'sway/input/cursor.c')
-rw-r--r-- | sway/input/cursor.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/input/cursor.c b/sway/input/cursor.c index c56445eb..195ddce9 100644 --- a/sway/input/cursor.c +++ b/sway/input/cursor.c | |||
@@ -146,7 +146,7 @@ static void cursor_send_pointer_motion(struct sway_cursor *cursor, | |||
146 | 146 | ||
147 | // send pointer enter/leave | 147 | // send pointer enter/leave |
148 | if (surface != NULL) { | 148 | if (surface != NULL) { |
149 | if (seat_allow_input(cursor->seat, surface)) { | 149 | if (seat_is_input_allowed(cursor->seat, surface)) { |
150 | wlr_seat_pointer_notify_enter(seat, surface, sx, sy); | 150 | wlr_seat_pointer_notify_enter(seat, surface, sx, sy); |
151 | wlr_seat_pointer_notify_motion(seat, time, sx, sy); | 151 | wlr_seat_pointer_notify_motion(seat, time, sx, sy); |
152 | } | 152 | } |