From 1539d2e94a2f37a54af7de680a502940d76ea629 Mon Sep 17 00:00:00 2001 From: Abhinav Date: Thu, 17 Jul 2025 18:06:02 +0100 Subject: fix transparent borders with picom --- src/sxwm.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/sxwm.c') diff --git a/src/sxwm.c b/src/sxwm.c index 36ff863..e32efff 100644 --- a/src/sxwm.c +++ b/src/sxwm.c @@ -1716,9 +1716,8 @@ long parse_col(const char *hex) return WhitePixel(dpy, DefaultScreen(dpy)); } - /* return col.pixel |= 0xff << 24; */ - /* This is a fix for picom making the borders transparent. DANGEROUS */ - return col.pixel; + /* possibly unsafe BUT i dont think it can cause any problems */ + return col.pixel |= 0xff << 24; } void quit(void) -- cgit v1.2.3