diff options
author | Drew DeVault <sir@cmpwn.com> | 2017-12-05 11:13:49 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-12-05 11:13:49 -0500 |
commit | f2aa33ae0f6cd91b88a3f24b65e3e915c3960931 (patch) | |
tree | 7f93aba35ba5c022d3d825bd6720aa4916adba49 /sway/tree/container.c | |
parent | Merge pull request #1497 from emersion/cmd-exec (diff) | |
parent | view set position (diff) | |
download | sway-f2aa33ae0f6cd91b88a3f24b65e3e915c3960931.tar.gz sway-f2aa33ae0f6cd91b88a3f24b65e3e915c3960931.tar.zst sway-f2aa33ae0f6cd91b88a3f24b65e3e915c3960931.zip |
Merge pull request #1500 from acrisci/feature/view-set-position
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 |