mirror of
https://github.com/gryf/wmaker.git
synced 2026-02-16 05:55:45 +01:00
something i dont remember
This commit is contained in:
@@ -60,7 +60,7 @@ 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));
|
||||||
|
|
||||||
/* don't set CWBackPixmap so that transparent XRender windows
|
/* don't set CWBackPixel so that transparent XRender windows
|
||||||
are see-through */
|
are see-through */
|
||||||
vmask = /*CWBackPixmap|CWBackPixel|*/CWBorderPixel|CWCursor|CWEventMask
|
vmask = /*CWBackPixmap|CWBackPixel|*/CWBorderPixel|CWCursor|CWEventMask
|
||||||
|CWOverrideRedirect;
|
|CWOverrideRedirect;
|
||||||
@@ -120,7 +120,7 @@ wCoreCreate(WCoreWindow *parent, 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;
|
vmask = /*CWBackPixmap|CWBackPixel|*/CWBorderPixel|CWCursor|CWEventMask;
|
||||||
attribs.cursor = wCursor[WCUR_DEFAULT];
|
attribs.cursor = wCursor[WCUR_DEFAULT];
|
||||||
attribs.background_pixmap = None;
|
attribs.background_pixmap = None;
|
||||||
attribs.background_pixel = parent->screen_ptr->black_pixel;
|
attribs.background_pixel = parent->screen_ptr->black_pixel;
|
||||||
|
|||||||
Reference in New Issue
Block a user