diff options
author | Drew DeVault <sir@cmpwn.com> | 2018-08-08 08:13:22 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-08 08:13:22 -0400 |
commit | c8a8216629cd56a510255f6ead3eaba9508b6544 (patch) | |
tree | 2f70bd11f025791a2970850771baa2062413f00c /sway/tree/workspace.c | |
parent | 6f0bc469e9b99ea641fdf98805f29e8acd96894a (diff) | |
parent | 5653fc754b09ae5344f42f9e3df71cd4420b7d61 (diff) | |
download | sway-c8a8216629cd56a510255f6ead3eaba9508b6544.tar.xz |
Merge pull request #2420 from RyanDwyer/floating-move-to-workspace
Implement move to workspace on a floating container
Diffstat (limited to 'sway/tree/workspace.c')
-rw-r--r-- | sway/tree/workspace.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sway/tree/workspace.c b/sway/tree/workspace.c index 395c6c10..b8bec044 100644 --- a/sway/tree/workspace.c +++ b/sway/tree/workspace.c @@ -18,7 +18,7 @@ #include "log.h" #include "util.h" -static struct sway_container *get_workspace_initial_output(const char *name) { +struct sway_container *workspace_get_initial_output(const char *name) { struct sway_container *parent; // Search for workspace<->output pair int e = config->workspace_outputs->length; @@ -48,7 +48,7 @@ static struct sway_container *get_workspace_initial_output(const char *name) { struct sway_container *workspace_create(struct sway_container *output, const char *name) { if (output == NULL) { - output = get_workspace_initial_output(name); + output = workspace_get_initial_output(name); } wlr_log(WLR_DEBUG, "Added workspace %s for output %s", name, output->name); |