aboutsummaryrefslogtreecommitdiff
path: root/sway/container.c
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2016-03-04 11:08:03 -0500
committerDrew DeVault <sir@cmpwn.com>2016-03-04 11:08:03 -0500
commitef5d8969464e1bfde08a081f1285b33014aa1707 (patch)
tree4f4400de4a29dfa18ae10da6e71ea60146190155 /sway/container.c
parent79bfd620d6f7a3d089898ec6391411c2c6b22668 (diff)
parent8ddafeeaae44db77bfdb55d1776513d88a58f68e (diff)
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) {
}
}
if (!ws_name) {
- ws_name = workspace_next_name();
+ ws_name = workspace_next_name(output->name);
}
// create and initilize default workspace