From a1b9bf23a9d7b46f5500c6373994a916f335da08 Mon Sep 17 00:00:00 2001 From: kojima Date: Wed, 23 Jan 2002 19:36:43 +0000 Subject: [PATCH] fixed non-transparent bug of xrender transparent windows --- src/wcore.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/wcore.c b/src/wcore.c index a8c8223c..66f4fcd5 100644 --- a/src/wcore.c +++ b/src/wcore.c @@ -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];