diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2020-02-25 18:05:48 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2020-02-25 18:05:48 +0000 |
| commit | ac32bcda07015dbf00f3b804f5e4595cd7994245 (patch) | |
| tree | 6261fff0bbf33b6d2f7a3e5695342ff91153c0d0 /terminal.c | |
| parent | input: pointer-motion/button: ignore actions in non-main surfaces (diff) | |
main: geometry defaults to 800x600 pixels
Diffstat (limited to 'terminal.c')
| -rw-r--r-- | terminal.c | 7 |
1 files changed, 0 insertions, 7 deletions
@@ -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); |
