diff options
author | Ronan Pigott <rpigott@berkeley.edu> | 2020-10-02 12:42:48 -0700 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2020-10-18 21:56:35 +0200 |
commit | 33affb33d2d083b6ab8500175210370141e0a113 (patch) | |
tree | 66b847ecd56d9cd58c0157e4eba6de026898beb9 /sway | |
parent | xwayland: listen to `set_geometry` event (diff) | |
download | sway-33affb33d2d083b6ab8500175210370141e0a113.tar.gz sway-33affb33d2d083b6ab8500175210370141e0a113.tar.zst sway-33affb33d2d083b6ab8500175210370141e0a113.zip |
tiling_drag: emit window move ipc events
Diffstat (limited to 'sway')
-rw-r--r-- | sway/input/seatop_move_tiling.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sway/input/seatop_move_tiling.c b/sway/input/seatop_move_tiling.c index 09689183..2d3abc9a 100644 --- a/sway/input/seatop_move_tiling.c +++ b/sway/input/seatop_move_tiling.c | |||
@@ -5,6 +5,7 @@ | |||
5 | #include "sway/desktop.h" | 5 | #include "sway/desktop.h" |
6 | #include "sway/input/cursor.h" | 6 | #include "sway/input/cursor.h" |
7 | #include "sway/input/seat.h" | 7 | #include "sway/input/seat.h" |
8 | #include "sway/ipc-server.h" | ||
8 | #include "sway/output.h" | 9 | #include "sway/output.h" |
9 | #include "sway/tree/arrange.h" | 10 | #include "sway/tree/arrange.h" |
10 | #include "sway/tree/node.h" | 11 | #include "sway/tree/node.h" |
@@ -261,6 +262,7 @@ static void finalize_move(struct sway_seat *seat) { | |||
261 | container_split(target, new_layout); | 262 | container_split(target, new_layout); |
262 | } | 263 | } |
263 | container_add_sibling(target, con, after); | 264 | container_add_sibling(target, con, after); |
265 | ipc_event_window(con, "move"); | ||
264 | } | 266 | } |
265 | } else { | 267 | } else { |
266 | // Target is a workspace which requires splitting | 268 | // Target is a workspace which requires splitting |