summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoruint23 <[email protected]>2025-05-10 12:02:23 +0100
committeruint23 <[email protected]>2025-05-10 12:02:23 +0100
commit41c3fa9e7c229d1ae46d503c2a9b19496ece6563 (patch)
tree1fbc30a4b3b7a1791cd9362641f705fcea19ce13
parent183b845b8adaa898af9fadabe7ac0d6e7cd9fb25 (diff)
make sxwm use fully opaque alpha
thanks to szatanjl dwm patch
-rw-r--r--src/sxwm.c5
1 files 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
+}