1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-21 05:18:06 +01:00

fixed non-transparent bug of xrender transparent windows

This commit is contained in:
kojima
2002-01-23 19:36:43 +00:00
parent 511a06628b
commit a1b9bf23a9

View File

@@ -60,7 +60,9 @@ wCoreCreateTopLevel(WScreen *screen, int x, int y, int width, int height,
core = wmalloc(sizeof(WCoreWindow)); core = wmalloc(sizeof(WCoreWindow));
memset(core, 0, 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; |CWOverrideRedirect;
attribs.override_redirect = True; attribs.override_redirect = True;
attribs.cursor = wCursor[WCUR_DEFAULT]; attribs.cursor = wCursor[WCUR_DEFAULT];