mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 17:03:02 +00:00
[0.4.9][NTUSER] Fix regression CORE-11828
Fixes symptom "mouse pointer vanishes when closing applications via x in title-bar" The bug in WIN32SS was unhidden by SVN r65496 == git5c1a8109c8
, when we introduced explorer_new. The old explorer had a workaround built within. Many thanks to patches author James Tabor. cherry picked from commit 0.4.14-dev-1012-g820dbfccd0
This commit is contained in:
parent
e8cc477de5
commit
d351b32bdb
1 changed files with 10 additions and 0 deletions
|
@ -431,6 +431,16 @@ UserDeleteW32Thread(PTHREADINFO pti)
|
||||||
ExFreePoolWithTag(pti, USERTAG_THREADINFO);
|
ExFreePoolWithTag(pti, USERTAG_THREADINFO);
|
||||||
|
|
||||||
IntDereferenceProcessInfo(ppi);
|
IntDereferenceProcessInfo(ppi);
|
||||||
|
|
||||||
|
{
|
||||||
|
// Find another queue for mouse cursor.
|
||||||
|
MSG msg;
|
||||||
|
msg.message = WM_MOUSEMOVE;
|
||||||
|
msg.wParam = UserGetMouseButtonsState();
|
||||||
|
msg.lParam = MAKELPARAM(gpsi->ptCursor.x, gpsi->ptCursor.y);
|
||||||
|
msg.pt = gpsi->ptCursor;
|
||||||
|
co_MsqInsertMouseMessage(&msg, 0, 0, TRUE);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
NTSTATUS
|
NTSTATUS
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue