diff options
Diffstat (limited to 'sway/config')
-rw-r--r-- | sway/config/output.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/sway/config/output.c b/sway/config/output.c index ed47a617..6371763f 100644 --- a/sway/config/output.c +++ b/sway/config/output.c | |||
@@ -131,12 +131,6 @@ void apply_output_config(struct output_config *oc, swayc_t *output) { | |||
131 | wlr_output_layout_add_auto(root_container.sway_root->output_layout, | 131 | wlr_output_layout_add_auto(root_container.sway_root->output_layout, |
132 | wlr_output); | 132 | wlr_output); |
133 | } | 133 | } |
134 | struct wlr_box *output_layout_box = wlr_output_layout_get_box( | ||
135 | root_container.sway_root->output_layout, wlr_output); | ||
136 | output->x = output_layout_box->x; | ||
137 | output->y = output_layout_box->y; | ||
138 | output->width = output_layout_box->width; | ||
139 | output->height = output_layout_box->height; | ||
140 | 134 | ||
141 | if (!oc || !oc->background) { | 135 | if (!oc || !oc->background) { |
142 | // Look for a * config for background | 136 | // Look for a * config for background |