diff options
Diffstat (limited to 'sway/tree/container.c')
-rw-r--r-- | sway/tree/container.c | 3 |
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) { | |||
1114 | struct sway_seat *seat; | 1114 | struct sway_seat *seat; |
1115 | wl_list_for_each(seat, &input_manager->seats, link) { | 1115 | wl_list_for_each(seat, &input_manager->seats, link) { |
1116 | if (seat->op_container == container) { | 1116 | if (seat->op_container == container) { |
1117 | seat->op_container = NULL; | 1117 | seat_end_mouse_operation(seat); |
1118 | seat->operation = OP_NONE; | ||
1119 | } | 1118 | } |
1120 | } | 1119 | } |
1121 | } | 1120 | } |