From e4cb2da8e9af50de5f4efd7cc4ad2e31056198b0 Mon Sep 17 00:00:00 2001 From: ProsperousPotato Date: Tue, 17 Jun 2025 17:48:50 +0100 Subject: fix text jiggling when resizing window --- config.h | 8 ++++---- config.mk | 2 +- graphics.o | Bin 82328 -> 0 bytes rowcolumn_diacritics_helpers.o | Bin 16264 -> 0 bytes 4 files changed, 5 insertions(+), 5 deletions(-) delete mode 100644 graphics.o delete mode 100644 rowcolumn_diacritics_helpers.o diff --git a/config.h b/config.h index d28078f..8474bae 100644 --- a/config.h +++ b/config.h @@ -18,8 +18,8 @@ static int borderpx = 0; * doesn't perfectly match the size of the window. The values are percentages. * 50 means center, 0 means flush left/top, 100 means flush right/bottom. */ -static int anysize_halign = 50; -static int anysize_valign = 50; +static int anysize_halign = 0; +static int anysize_valign = 0; /* * What program is execed by st depends of these precedence rules: @@ -167,8 +167,8 @@ static unsigned int cursorshape = 2; * Default columns and rows numbers */ -static unsigned int cols = 130; -static unsigned int rows = 41; +static unsigned int cols = 180; +static unsigned int rows = 50; /* * Default colour and shape of the mouse cursor diff --git a/config.mk b/config.mk index cb2875c..66f0875 100644 --- a/config.mk +++ b/config.mk @@ -25,7 +25,7 @@ LIBS = -L$(X11LIB) -lm -lrt -lX11 -lutil -lXft -lXrender \ # flags STCPPFLAGS = -DVERSION=\"$(VERSION)\" -D_XOPEN_SOURCE=600 -STCFLAGS = $(INCS) $(STCPPFLAGS) $(CPPFLAGS) $(CFLAGS) +STCFLAGS = $(INCS) $(STCPPFLAGS) $(CPPFLAGS) $(CFLAGS) -O3 STLDFLAGS = $(LIBS) $(LDFLAGS) # OpenBSD: diff --git a/graphics.o b/graphics.o deleted file mode 100644 index 73551f9..0000000 Binary files a/graphics.o and /dev/null differ diff --git a/rowcolumn_diacritics_helpers.o b/rowcolumn_diacritics_helpers.o deleted file mode 100644 index e3b6b55..0000000 Binary files a/rowcolumn_diacritics_helpers.o and /dev/null differ -- cgit v1.2.3