From 41c3fa9e7c229d1ae46d503c2a9b19496ece6563 Mon Sep 17 00:00:00 2001 From: uint23 Date: Sat, 10 May 2025 12:02:23 +0100 Subject: make sxwm use fully opaque alpha thanks to szatanjl dwm patch --- src/sxwm.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/sxwm.c b/src/sxwm.c index b5558b2..6fce79d 100644 --- a/src/sxwm.c +++ b/src/sxwm.c @@ -1048,7 +1048,8 @@ long parse_col(const char *hex) return WhitePixel(dpy, DefaultScreen(dpy)); } - return col.pixel; + /* return col.pixel; */ + return col.pixel |= 0xff << 24; } void quit(void) @@ -1689,4 +1690,4 @@ int main(int ac, char **av) setup(); run(); return 0; -} \ No newline at end of file +} -- cgit v1.2.3