aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorProsperousPotato <ProsperousPotato@users.noreply.github.com>2025-06-17 17:48:50 +0100
committerProsperousPotato <ProsperousPotato@users.noreply.github.com>2025-06-17 17:48:50 +0100
commite4cb2da8e9af50de5f4efd7cc4ad2e31056198b0 (patch)
tree7d0ab3caeb263d2ea773513dfc605ca04a70fa96
parent4d2db6895a167fcb3f38972852a92bcceab9d930 (diff)
fix text jiggling when resizing window
-rw-r--r--config.h8
-rw-r--r--config.mk2
-rw-r--r--graphics.obin82328 -> 0 bytes
-rw-r--r--rowcolumn_diacritics_helpers.obin16264 -> 0 bytes
4 files changed, 5 insertions, 5 deletions
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
--- a/graphics.o
+++ /dev/null
Binary files differ
diff --git a/rowcolumn_diacritics_helpers.o b/rowcolumn_diacritics_helpers.o
deleted file mode 100644
index e3b6b55..0000000
--- a/rowcolumn_diacritics_helpers.o
+++ /dev/null
Binary files differ