mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-06-19 21:48:32 +02:00
Fix bug #7280, round title corner background
should be transparent not black in Xming/CygwinX (Colin Harrison)
This commit is contained in:
parent
a815b9b990
commit
a1a8e4f7f5
1 changed files with 9 additions and 0 deletions
|
|
@ -394,6 +394,15 @@ winTopLevelWindowProc (HWND hwnd, UINT message,
|
|||
* 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:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue