mirror of
https://github.com/swaywm/sway.git
synced 2025-11-15 06:59:50 -05:00
Address review feedback
This commit is contained in:
parent
46b388995d
commit
d2d050d59c
3 changed files with 5 additions and 4 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue