mirror of
https://github.com/swaywm/sway.git
synced 2025-11-10 13:29:51 -05:00
view set position
This commit is contained in:
parent
83b4c0648d
commit
8bdf3b1b02
6 changed files with 59 additions and 5 deletions
|
|
@ -2,6 +2,7 @@
|
|||
#include <stdint.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <wlr/types/wlr_output_layout.h>
|
||||
#include "sway/container.h"
|
||||
#include "sway/layout.h"
|
||||
#include "sway/output.h"
|
||||
|
|
@ -53,6 +54,10 @@ swayc_t *new_output(struct sway_output *sway_output) {
|
|||
output->width = size.width;
|
||||
output->height = size.width;
|
||||
|
||||
// TODO configure output layout position
|
||||
wlr_output_layout_add_auto(root_container.output_layout,
|
||||
sway_output->wlr_output);
|
||||
|
||||
add_child(&root_container, output);
|
||||
|
||||
// Create workspace
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue