--- ./programs/Xserver/hw/xwin/save_winmultiwindowwndproc.c 2006-06-10 07:41:49.000000000 +0100 +++ ./programs/Xserver/hw/xwin/winmultiwindowwndproc.c 2006-06-10 09:53:49.000000000 +0100 @@ -395,6 +395,15 @@ * currently being created. */ winReorderWindowsMultiWindow (); + + /* Fix a 'round title bar corner background should be transparent not black' problem when first painted */ + RECT rWindow; + HRGN hRgnWindow; + GetWindowRect(hwnd, &rWindow); + hRgnWindow = CreateRectRgnIndirect(&rWindow); + SetWindowRgn (hwnd, hRgnWindow, TRUE); + DeleteObject(hRgnWindow); + return 0; case WM_INIT_SYS_MENU: