Address review feedback

This commit is contained in:
Drew DeVault 2018-04-03 21:25:42 -04:00
parent 46b388995d
commit d2d050d59c
3 changed files with 5 additions and 4 deletions

View file

@ -146,7 +146,7 @@ static void cursor_send_pointer_motion(struct sway_cursor *cursor,
// send pointer enter/leave
if (surface != NULL) {
if (seat_allow_input(cursor->seat, surface)) {
if (seat_is_input_allowed(cursor->seat, surface)) {
wlr_seat_pointer_notify_enter(seat, surface, sx, sy);
wlr_seat_pointer_notify_motion(seat, time, sx, sy);
}