Don't send motion if the cursor hasn't moved

Prevents GTK+ comboboxes from immediately closing.
This commit is contained in:
Ryan Dwyer 2018-08-18 09:29:18 +10:00
parent b637b61a7a
commit 07a897b3b7
3 changed files with 6 additions and 1 deletions

View file

@ -225,6 +225,7 @@ static void handle_down_motion(struct sway_seat *seat,
double sy = seat->op_ref_con_ly + moved_y;
wlr_seat_pointer_notify_motion(seat->wlr_seat, time_msec, sx, sy);
}
seat->op_moved = true;
}
static void handle_move_motion(struct sway_seat *seat,