tiling_drag: emit window move ipc events

master
Ronan Pigott 4 years ago committed by Simon Ser
parent 181798c2fe
commit 33affb33d2

@ -5,6 +5,7 @@
#include "sway/desktop.h" #include "sway/desktop.h"
#include "sway/input/cursor.h" #include "sway/input/cursor.h"
#include "sway/input/seat.h" #include "sway/input/seat.h"
#include "sway/ipc-server.h"
#include "sway/output.h" #include "sway/output.h"
#include "sway/tree/arrange.h" #include "sway/tree/arrange.h"
#include "sway/tree/node.h" #include "sway/tree/node.h"
@ -261,6 +262,7 @@ static void finalize_move(struct sway_seat *seat) {
container_split(target, new_layout); container_split(target, new_layout);
} }
container_add_sibling(target, con, after); container_add_sibling(target, con, after);
ipc_event_window(con, "move");
} }
} else { } else {
// Target is a workspace which requires splitting // Target is a workspace which requires splitting

Loading…
Cancel
Save