mirror of
https://github.com/swaywm/sway.git
synced 2025-11-14 06:59:47 -05:00
Don't send motion if the cursor hasn't moved
Prevents GTK+ comboboxes from immediately closing.
This commit is contained in:
parent
b637b61a7a
commit
07a897b3b7
3 changed files with 6 additions and 1 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue