mirror of
https://github.com/swaywm/sway.git
synced 2025-11-02 09:01:40 -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
|
|
@ -70,6 +70,7 @@ struct sway_seat {
|
|||
double op_ref_lx, op_ref_ly; // cursor's x/y at start of op
|
||||
double op_ref_width, op_ref_height; // container's size at start of op
|
||||
double op_ref_con_lx, op_ref_con_ly; // container's x/y at start of op
|
||||
bool op_moved; // if the mouse moved during a down op
|
||||
|
||||
uint32_t last_button;
|
||||
uint32_t last_button_serial;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue