aboutsummaryrefslogtreecommitdiff
path: root/sway/tree/output.c
diff options
context:
space:
mode:
Diffstat (limited to 'sway/tree/output.c')
-rw-r--r--sway/tree/output.c6
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();