summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--redo/container_windows.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/redo/container_windows.c b/redo/container_windows.c
index 30838b4..f92459c 100644
--- a/redo/container_windows.c
+++ b/redo/container_windows.c
@@ -58,7 +58,7 @@ DWORD makeContainerWindowClass(char **errmsg)
wc.hInstance = hInstance;
wc.hIcon = hDefaultIcon;
wc.hCursor = hArrowCursor;
- wc.hbrBackground = (HBRUSH) (COLOR_BTNFACE + 1);
+ wc.hbrBackground = NULL;//(HBRUSH) (COLOR_BTNFACE + 1);
wc.lpszClassName = containerclass;
if (RegisterClassW(&wc) == 0) {
*errmsg = "error registering container window class";
@@ -72,7 +72,7 @@ HWND newContainer(void *data)
HWND hwnd;
hwnd = CreateWindowExW(
- WS_EX_CONTROLPARENT,
+ WS_EX_CONTROLPARENT | WS_EX_TRANSPARENT,
containerclass, L"",
WS_CHILD | WS_VISIBLE,
CW_USEDEFAULT, CW_USEDEFAULT,