mirror of
https://github.com/gryf/wmaker.git
synced 2026-03-25 06:03:31 +01:00
Make border opaque.
When composite manager (like picom or xcompmgr) is used together with Window Maker, some of the windows (i.e. terminator) might have transparent border. This patch will prevent from such situation. Closes: https://github.com/window-maker/wmaker/issues/58
This commit is contained in:
@@ -70,7 +70,7 @@ static void allocFrameBorderPixel(WFrameWindow *fwin, const char *color_name, un
|
|||||||
|
|
||||||
*pixel = wmalloc(sizeof(unsigned long));
|
*pixel = wmalloc(sizeof(unsigned long));
|
||||||
if (*pixel)
|
if (*pixel)
|
||||||
**pixel = xcol.pixel;
|
**pixel = xcol.pixel |= 0xff << 24;
|
||||||
}
|
}
|
||||||
|
|
||||||
WFrameWindow *wFrameWindowCreate(WScreen * scr, int wlevel, int x, int y,
|
WFrameWindow *wFrameWindowCreate(WScreen * scr, int wlevel, int x, int y,
|
||||||
|
|||||||
Reference in New Issue
Block a user