mirror of
https://github.com/swaywm/sway.git
synced 2025-11-05 13:29:51 -05:00
Init, merge output config params, use wlr_output_layout
This commit is contained in:
parent
aaae59026f
commit
68ae989cee
4 changed files with 33 additions and 25 deletions
|
|
@ -100,12 +100,6 @@ swayc_t *new_output(struct sway_output *sway_output) {
|
|||
swayc_t *output = new_swayc(C_OUTPUT);
|
||||
output->sway_output = sway_output;
|
||||
output->name = name ? strdup(name) : NULL;
|
||||
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);
|
||||
|
||||
apply_output_config(oc, output);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue