From 2eaa258e11ffdd2412138479c3939563a8ee3e03 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Ekl=C3=B6f?= Date: Sun, 27 Oct 2019 19:21:16 +0100 Subject: [PATCH] main: cleanup --- main.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/main.c b/main.c index 1334f5e6..c419e4c9 100644 --- a/main.c +++ b/main.c @@ -276,7 +276,6 @@ main(int argc, char *const *argv) case 'f': tll_free_and_free(conf.fonts, free); - //tll_push_back(conf.fonts, strdup(optarg)); for (char *font = strtok(optarg, ","); font != NULL; font = strtok(NULL, ",")) { /* Strip leading spaces */ @@ -349,10 +348,6 @@ main(int argc, char *const *argv) }, .vt = { .state = 1, /* STATE_GROUND */ - .attrs = { - //.foreground = conf.colors.fg, - //.background = conf.colors.bg - }, }, .colors = { .default_fg = conf.colors.fg, @@ -521,8 +516,6 @@ main(int argc, char *const *argv) conf.height = max(conf.height, term.cell_height); render_resize(&term, conf.width, conf.height); - wl_display_dispatch_pending(term.wl->display); - { int fork_pipe[2]; if (pipe2(fork_pipe, O_CLOEXEC) < 0) {