diff options
Diffstat (limited to 'sway/input/seatop_move_tiling.c')
-rw-r--r-- | sway/input/seatop_move_tiling.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sway/input/seatop_move_tiling.c b/sway/input/seatop_move_tiling.c index 704e7270..7d9ecd8f 100644 --- a/sway/input/seatop_move_tiling.c +++ b/sway/input/seatop_move_tiling.c | |||
@@ -3,6 +3,7 @@ | |||
3 | #include <wlr/types/wlr_cursor.h> | 3 | #include <wlr/types/wlr_cursor.h> |
4 | #include <wlr/util/edges.h> | 4 | #include <wlr/util/edges.h> |
5 | #include "sway/desktop.h" | 5 | #include "sway/desktop.h" |
6 | #include "sway/desktop/transaction.h" | ||
6 | #include "sway/input/cursor.h" | 7 | #include "sway/input/cursor.h" |
7 | #include "sway/input/seat.h" | 8 | #include "sway/input/seat.h" |
8 | #include "sway/ipc-server.h" | 9 | #include "sway/ipc-server.h" |
@@ -214,6 +215,7 @@ static void handle_pointer_motion(struct sway_seat *seat, uint32_t time_msec) { | |||
214 | } else { | 215 | } else { |
215 | handle_motion_prethreshold(seat); | 216 | handle_motion_prethreshold(seat); |
216 | } | 217 | } |
218 | transaction_commit_dirty(); | ||
217 | } | 219 | } |
218 | 220 | ||
219 | static bool is_parallel(enum sway_container_layout layout, | 221 | static bool is_parallel(enum sway_container_layout layout, |
@@ -294,6 +296,7 @@ static void finalize_move(struct sway_seat *seat) { | |||
294 | arrange_workspace(new_ws); | 296 | arrange_workspace(new_ws); |
295 | } | 297 | } |
296 | 298 | ||
299 | transaction_commit_dirty(); | ||
297 | seatop_begin_default(seat); | 300 | seatop_begin_default(seat); |
298 | } | 301 | } |
299 | 302 | ||
@@ -348,6 +351,7 @@ void seatop_begin_move_tiling_threshold(struct sway_seat *seat, | |||
348 | seat->seatop_data = e; | 351 | seat->seatop_data = e; |
349 | 352 | ||
350 | container_raise_floating(con); | 353 | container_raise_floating(con); |
354 | transaction_commit_dirty(); | ||
351 | wlr_seat_pointer_notify_clear_focus(seat->wlr_seat); | 355 | wlr_seat_pointer_notify_clear_focus(seat->wlr_seat); |
352 | } | 356 | } |
353 | 357 | ||