diff options
Diffstat (limited to 'sway/tree/output.c')
-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) { | |||
54 | 54 | ||
55 | wl_list_insert(&root->all_outputs, &output->link); | 55 | wl_list_insert(&root->all_outputs, &output->link); |
56 | 56 | ||
57 | if (!wl_list_empty(&wlr_output->modes)) { | ||
58 | struct wlr_output_mode *mode = | ||
59 | wl_container_of(wlr_output->modes.prev, mode, link); | ||
60 | wlr_output_set_mode(wlr_output, mode); | ||
61 | } | ||
62 | |||
63 | output->workspaces = create_list(); | 57 | output->workspaces = create_list(); |
64 | output->current.workspaces = create_list(); | 58 | output->current.workspaces = create_list(); |
65 | 59 | ||