mirror of
https://github.com/swaywm/sway.git
synced 2025-11-04 13:29:52 -05:00
Partially implement move command
Works:
- move [container|window] to workspace <name>
- Note, this should be able to move C_CONTAINER but this is untested
- move [workspace] to output [left|right|up|down|<name>]
Not implemented yet:
- move [left|right|up|down]
- move scratchpad
- move position
This commit is contained in:
parent
122b96abed
commit
b2d871cfe2
12 changed files with 268 additions and 41 deletions
|
|
@ -84,9 +84,14 @@ struct sway_container {
|
|||
|
||||
struct {
|
||||
struct wl_signal destroy;
|
||||
// Raised after the tree updates, but before arrange_windows
|
||||
// Passed the previous parent
|
||||
struct wl_signal reparent;
|
||||
} events;
|
||||
};
|
||||
|
||||
const char *container_type_to_str(enum sway_container_type type);
|
||||
|
||||
// TODO only one container create function and pass the type?
|
||||
struct sway_container *container_output_create(
|
||||
struct sway_output *sway_output);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue