Replace static handle_end_operation with seat_end_mouse_operation

This commit is contained in:
Ryan Dwyer 2018-07-21 10:40:12 +10:00
parent 86f5531511
commit 0c87bff5d1
4 changed files with 23 additions and 18 deletions

View file

@ -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);
}
}
}