aboutsummaryrefslogtreecommitdiff
path: root/sway/tree
diff options
context:
space:
mode:
authorRyan Dwyer <ryandwyer1@gmail.com>2018-07-21 10:40:12 +1000
committerRyan Dwyer <ryandwyer1@gmail.com>2018-07-22 23:10:19 +1000
commit0c87bff5d1ce686afdc25d37eee4bdd8f08abdd3 (patch)
treeab1b5be08daccc0e92ebff7497687b252fa5f5dc /sway/tree
parent86f55315113556eaa58f8b06231a89d67b1201ba (diff)
downloadsway-0c87bff5d1ce686afdc25d37eee4bdd8f08abdd3.tar.xz
Replace static handle_end_operation with seat_end_mouse_operation
Diffstat (limited to 'sway/tree')
-rw-r--r--sway/tree/container.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sway/tree/container.c b/sway/tree/container.c
index ba4af352..42c1d024 100644
--- a/sway/tree/container.c
+++ b/sway/tree/container.c
@@ -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);
}
}
}