diff options
author | Tony Crisci <tony@dubstepdish.com> | 2017-12-05 11:02:31 -0500 |
---|---|---|
committer | Tony Crisci <tony@dubstepdish.com> | 2017-12-05 11:02:31 -0500 |
commit | 8bdf3b1b0275d53cee8538777f12461603b0a751 (patch) | |
tree | 7f93aba35ba5c022d3d825bd6720aa4916adba49 /sway/tree/container.c | |
parent | Merge pull request #1497 from emersion/cmd-exec (diff) | |
download | sway-8bdf3b1b0275d53cee8538777f12461603b0a751.tar.gz sway-8bdf3b1b0275d53cee8538777f12461603b0a751.tar.zst sway-8bdf3b1b0275d53cee8538777f12461603b0a751.zip |
view set position
Diffstat (limited to 'sway/tree/container.c')
-rw-r--r-- | sway/tree/container.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sway/tree/container.c b/sway/tree/container.c index c7bce38a..e205fbcf 100644 --- a/sway/tree/container.c +++ b/sway/tree/container.c | |||
@@ -2,6 +2,7 @@ | |||
2 | #include <stdint.h> | 2 | #include <stdint.h> |
3 | #include <stdlib.h> | 3 | #include <stdlib.h> |
4 | #include <string.h> | 4 | #include <string.h> |
5 | #include <wlr/types/wlr_output_layout.h> | ||
5 | #include "sway/container.h" | 6 | #include "sway/container.h" |
6 | #include "sway/layout.h" | 7 | #include "sway/layout.h" |
7 | #include "sway/output.h" | 8 | #include "sway/output.h" |
@@ -53,6 +54,10 @@ swayc_t *new_output(struct sway_output *sway_output) { | |||
53 | output->width = size.width; | 54 | output->width = size.width; |
54 | output->height = size.width; | 55 | output->height = size.width; |
55 | 56 | ||
57 | // TODO configure output layout position | ||
58 | wlr_output_layout_add_auto(root_container.output_layout, | ||
59 | sway_output->wlr_output); | ||
60 | |||
56 | add_child(&root_container, output); | 61 | add_child(&root_container, output); |
57 | 62 | ||
58 | // Create workspace | 63 | // Create workspace |