From d9e2d392319a4807b8a79392ae9c8fd9ca26de9a Mon Sep 17 00:00:00 2001 From: marha Date: Wed, 16 Feb 2011 15:18:57 +0000 Subject: Do not delete the region given to SetWindowRgn, this is not allowed --- xorg-server/hw/xwin/winmultiwindowwndproc.c | 1 - 1 file changed, 1 deletion(-) (limited to 'xorg-server/hw') diff --git a/xorg-server/hw/xwin/winmultiwindowwndproc.c b/xorg-server/hw/xwin/winmultiwindowwndproc.c index 5a1fcd6f5..fe262be61 100644 --- a/xorg-server/hw/xwin/winmultiwindowwndproc.c +++ b/xorg-server/hw/xwin/winmultiwindowwndproc.c @@ -393,7 +393,6 @@ winTopLevelWindowProc (HWND hwnd, UINT message, GetWindowRect(hwnd, &rWindow); hRgnWindow = CreateRectRgnIndirect(&rWindow); SetWindowRgn (hwnd, hRgnWindow, TRUE); - DeleteObject(hRgnWindow); } SetWindowLongPtr(hwnd, GWLP_USERDATA, (LONG_PTR)VCXSRV_SIGNATURE); -- cgit v1.2.3