From eed645f093d4ee441b143e28d9cca514dcd4182e Mon Sep 17 00:00:00 2001 From: Mike Vink Date: Sun, 19 Jan 2025 13:15:18 +0100 Subject: revert some changes --- mut/st/config.mk | 2 +- mut/st/x.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'mut') 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; -- cgit v1.2.3