mirror of
https://github.com/reactos/reactos.git
synced 2024-11-30 23:13:31 +08:00
[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 == git
5c1a8109c8
, when we introduced explorer_new. The old explorer
had a workaround built within.
Many thanks to patches author James Tabor.
I intend to backport into 0.4.13RC as well.
This commit is contained in:
parent
02327ed665
commit
820dbfccd0
@ -420,6 +420,16 @@ UserDeleteW32Thread(PTHREADINFO pti)
|
||||
ExFreePoolWithTag(pti, USERTAG_THREADINFO);
|
||||
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user