tiling_drag: emit window move ipc events

This commit is contained in:
Ronan Pigott 2020-10-02 12:42:48 -07:00 committed by Simon Ser
parent 181798c2fe
commit 33affb33d2
1 changed files with 2 additions and 0 deletions

View File

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