diff options
author | Brian Ashworth <bosrsf04@gmail.com> | 2018-09-05 14:00:00 -0400 |
---|---|---|
committer | Brian Ashworth <bosrsf04@gmail.com> | 2018-09-05 14:00:00 -0400 |
commit | c246cf84c8f5e99c0f2117f2d9d1772c08d7596c (patch) | |
tree | 281bd50400911abb33853a2c84c3335faea23eef /sway/tree | |
parent | 610eb946171f782165a20614b2d3318b89273990 (diff) | |
download | sway-c246cf84c8f5e99c0f2117f2d9d1772c08d7596c.tar.xz |
Call wlr_output_enable on enable/disable if needed
Diffstat (limited to 'sway/tree')
-rw-r--r-- | sway/tree/output.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/sway/tree/output.c b/sway/tree/output.c index 35589032..201e767f 100644 --- a/sway/tree/output.c +++ b/sway/tree/output.c @@ -54,12 +54,6 @@ struct sway_output *output_create(struct wlr_output *wlr_output) { wl_list_insert(&root->all_outputs, &output->link); - if (!wl_list_empty(&wlr_output->modes)) { - struct wlr_output_mode *mode = - wl_container_of(wlr_output->modes.prev, mode, link); - wlr_output_set_mode(wlr_output, mode); - } - output->workspaces = create_list(); output->current.workspaces = create_list(); |