diff options
| author | Abhinav <abhinav.prsai@gmail.com> | 2025-07-17 18:06:02 +0100 |
|---|---|---|
| committer | Abhinav <abhinav.prsai@gmail.com> | 2025-07-17 18:06:02 +0100 |
| commit | 1539d2e94a2f37a54af7de680a502940d76ea629 (patch) | |
| tree | ca153bc3d7dcecc4e71bb9e1abb5932bc733a5f5 /src | |
| parent | c0b958ecca55d92fd3f48647c1f6df253f2a937a (diff) | |
fix transparent borders with picom
Diffstat (limited to 'src')
| -rw-r--r-- | src/sxwm.c | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -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) |
