summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/sxwm.c5
1 files changed, 2 insertions, 3 deletions
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)