mirror of
https://github.com/swaywm/sway.git
synced 2025-11-05 13:29:51 -05:00
Replace static handle_end_operation with seat_end_mouse_operation
This commit is contained in:
parent
86f5531511
commit
0c87bff5d1
4 changed files with 23 additions and 18 deletions
|
|
@ -1114,8 +1114,7 @@ void container_end_mouse_operation(struct sway_container *container) {
|
|||
struct sway_seat *seat;
|
||||
wl_list_for_each(seat, &input_manager->seats, link) {
|
||||
if (seat->op_container == container) {
|
||||
seat->op_container = NULL;
|
||||
seat->operation = OP_NONE;
|
||||
seat_end_mouse_operation(seat);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue