aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2019-10-27 18:21:16 +0000
committerDaniel Eklöf <daniel@ekloef.se>2019-10-27 18:21:27 +0000
commit2eaa258e11ffdd2412138479c3939563a8ee3e03 (patch)
tree200821b19c69f5808582e7ef17638272da70ec1f
parentwayland: free wayland/wl_window instances (diff)
main: cleanup
-rw-r--r--main.c7
1 files changed, 0 insertions, 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) {