mirror of
https://github.com/gryf/wmaker.git
synced 2026-10-07 02:10:35 +02:00
fixed non-transparent bug of xrender transparent windows
This commit is contained in:
1 parent
511a06628b
commit
a1b9bf23a9
1 file changed
+3
-1
+3
-1
@@ -60,7 +60,9 @@ wCoreCreateTopLevel(WScreen *screen, int x, int y, int width, int height,
|
||||
core = wmalloc(sizeof(WCoreWindow));
|
||||
memset(core, 0, sizeof(WCoreWindow));
|
||||
|
||||
vmask = /*CWBackPixmap|*/CWBackPixel|CWBorderPixel|CWCursor|CWEventMask
|
||||
/* don't set CWBackPixmap so that transparent XRender windows
|
||||
are see-through */
|
||||
vmask = /*CWBackPixmap|CWBackPixel|*/CWBorderPixel|CWCursor|CWEventMask
|
||||
|CWOverrideRedirect;
|
||||
attribs.override_redirect = True;
|
||||
attribs.cursor = wCursor[WCUR_DEFAULT];
|
||||
|
||||
Reference in new issue
Block a user