From ac32bcda07015dbf00f3b804f5e4595cd7994245 Mon Sep 17 00:00:00 2001 From: Daniel Eklöf Date: Tue, 25 Feb 2020 19:05:48 +0100 Subject: main: geometry defaults to 800x600 pixels --- terminal.c | 7 ------- 1 file changed, 7 deletions(-) (limited to 'terminal.c') diff --git a/terminal.c b/terminal.c index d97354cd..000d95b3 100644 --- a/terminal.c +++ b/terminal.c @@ -791,13 +791,6 @@ term_init(const struct config *conf, struct fdm *fdm, struct wayland *wayl, unsigned width = conf->width; unsigned height = conf->height; - if (width == -1) { - /* No user-configuration - use 80x24 cells */ - assert(height == -1); - width = 80 * term->cell_width; - height = 24 * term->cell_height; - } - /* Don't go below a single cell */ width = max(width, term->cell_width); height = max(height, term->cell_height); -- cgit v1.3