diff options
author | marha <marha@users.sourceforge.net> | 2011-02-16 15:18:57 +0000 |
---|---|---|
committer | marha <marha@users.sourceforge.net> | 2011-02-16 15:18:57 +0000 |
commit | d9e2d392319a4807b8a79392ae9c8fd9ca26de9a (patch) | |
tree | 92bd033916e8cf3c26e45a1f83cb78cf93e15d33 /xorg-server | |
parent | af02869c907deef944c05df9abdc364706811c08 (diff) | |
download | vcxsrv-d9e2d392319a4807b8a79392ae9c8fd9ca26de9a.tar.gz vcxsrv-d9e2d392319a4807b8a79392ae9c8fd9ca26de9a.tar.bz2 vcxsrv-d9e2d392319a4807b8a79392ae9c8fd9ca26de9a.zip |
Do not delete the region given to SetWindowRgn, this is not allowed
Diffstat (limited to 'xorg-server')
-rw-r--r-- | xorg-server/hw/xwin/winmultiwindowwndproc.c | 1 |
1 files changed, 0 insertions, 1 deletions
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);
|