mirror of
https://github.com/swaywm/sway.git
synced 2026-04-17 06:46:32 -04:00
Add the swap_workspace command
The added command allow the user to swap the contents of two workspaces. Co-authored-by: Arne <ge47com@tum.de>
This commit is contained in:
parent
c5fd8c050f
commit
c2eaf01767
7 changed files with 211 additions and 0 deletions
|
|
@ -184,6 +184,7 @@ sway_cmd cmd_sticky;
|
|||
sway_cmd cmd_swaybg_command;
|
||||
sway_cmd cmd_swaynag_command;
|
||||
sway_cmd cmd_swap;
|
||||
sway_cmd cmd_swap_workspace_content;
|
||||
sway_cmd cmd_tiling_drag;
|
||||
sway_cmd cmd_tiling_drag_threshold;
|
||||
sway_cmd cmd_title_align;
|
||||
|
|
|
|||
|
|
@ -164,6 +164,9 @@ struct sway_container *tiling_container_at(
|
|||
struct sway_node *parent, double lx, double ly,
|
||||
struct wlr_surface **surface, double *sx, double *sy);
|
||||
|
||||
void container_get_first_view(struct sway_container *container,
|
||||
struct sway_container **view);
|
||||
|
||||
void container_for_each_child(struct sway_container *container,
|
||||
void (*f)(struct sway_container *container, void *data), void *data);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue