summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;