summaryrefslogtreecommitdiffstats
path: root/sway/container.c
diff options
context:
space:
mode:
authorLibravatar Drew DeVault <sir@cmpwn.com>2016-03-04 11:08:03 -0500
committerLibravatar Drew DeVault <sir@cmpwn.com>2016-03-04 11:08:03 -0500
commitef5d8969464e1bfde08a081f1285b33014aa1707 (patch)
tree4f4400de4a29dfa18ae10da6e71ea60146190155 /sway/container.c
parentMerge pull request #495 from gpyh/docswaybar (diff)
parentFix assigning workspaces to outputs (diff)
downloadsway-ef5d8969464e1bfde08a081f1285b33014aa1707.tar.gz
sway-ef5d8969464e1bfde08a081f1285b33014aa1707.tar.zst
sway-ef5d8969464e1bfde08a081f1285b33014aa1707.zip
Merge pull request #501 from mikkeloscar/ws-on-output
Fix assigning workspaces to outputs
Diffstat (limited to 'sway/container.c')
-rw-r--r--sway/container.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/container.c b/sway/container.c
index 2db7b218..e4c20bc9 100644
--- a/sway/container.c
+++ b/sway/container.c
@@ -143,7 +143,7 @@ swayc_t *new_output(wlc_handle handle) {
143 } 143 }
144 } 144 }
145 if (!ws_name) { 145 if (!ws_name) {
146 ws_name = workspace_next_name(); 146 ws_name = workspace_next_name(output->name);
147 } 147 }
148 148
149 // create and initilize default workspace 149 // create and initilize default workspace