diff options
author | emersion <contact@emersion.fr> | 2017-12-12 21:09:51 +0100 |
---|---|---|
committer | emersion <contact@emersion.fr> | 2017-12-12 21:09:51 +0100 |
commit | d293c429424a9f96c3fc8143af457645326e7a0e (patch) | |
tree | 530509af18e72af36a52e9fd3970a706695919be /sway/config/output.c | |
parent | c7abb77f2217cc4d5642ef1650f7fc75e1c1a9a4 (diff) |
Update output container box in event handler
Diffstat (limited to 'sway/config/output.c')
-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) { wlr_output_layout_add_auto(root_container.sway_root->output_layout, wlr_output); } - struct wlr_box *output_layout_box = wlr_output_layout_get_box( - root_container.sway_root->output_layout, wlr_output); - output->x = output_layout_box->x; - output->y = output_layout_box->y; - output->width = output_layout_box->width; - output->height = output_layout_box->height; if (!oc || !oc->background) { // Look for a * config for background |