mirror of
https://github.com/swaywm/sway.git
synced 2024-11-26 09:51:29 +00:00
tiling_drag: emit window move ipc events
This commit is contained in:
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…
Reference in a new issue