summaryrefslogtreecommitdiff
path: root/mut/st
diff options
context:
space:
mode:
authorMike Vink <mike@pionative.com>2025-01-19 13:15:18 +0100
committerMike Vink <mike@pionative.com>2025-01-19 13:51:30 +0100
commiteed645f093d4ee441b143e28d9cca514dcd4182e (patch)
tree835699780bf6721b8ceeb9d4f5c8fd33508f692c /mut/st
parent394be6a8b3ed1f5d9d44c68d1299c0a84c0d45e8 (diff)
revert some changes
Diffstat (limited to 'mut/st')
-rw-r--r--mut/st/config.mk2
-rw-r--r--mut/st/x.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/mut/st/config.mk b/mut/st/config.mk
index 0e509a1..ef6de39 100644
--- a/mut/st/config.mk
+++ b/mut/st/config.mk
@@ -17,7 +17,7 @@ INCS = -I$(X11INC) \
`$(PKG_CONFIG) --cflags fontconfig` \
`$(PKG_CONFIG) --cflags freetype2` \
`$(PKG_CONFIG) --cflags harfbuzz`
-LIBS = -L$(X11LIB) -lm -lX11 -lutil -lXft -lXrender\
+LIBS = -L$(X11LIB) -lm -lrt -lX11 -lutil -lXft -lXrender\
`$(PKG_CONFIG) --libs fontconfig` \
`$(PKG_CONFIG) --libs freetype2` \
`$(PKG_CONFIG) --libs harfbuzz`
diff --git a/mut/st/x.c b/mut/st/x.c
index 0ce1172..e2ec9db 100644
--- a/mut/st/x.c
+++ b/mut/st/x.c
@@ -1288,7 +1288,7 @@ xinit(int cols, int rows)
if (!(opt_embed && (parent = strtol(opt_embed, NULL, 0)))) {
parent = XRootWindow(xw.dpy, xw.scr);
- xw.depth = 24;
+ xw.depth = 32;
} else {
XGetWindowAttributes(xw.dpy, parent, &attr);
xw.depth = attr.depth;