mirror of
https://github.com/reactos/reactos.git
synced 2024-07-05 12:15:46 +00:00
[Win32k]
- Restore original patch 50154. svn path=/trunk/; revision=50846
This commit is contained in:
parent
231588606c
commit
1e0e0dd6be
|
@ -193,6 +193,7 @@ co_IntSendMessageTimeout(HWND hWnd,
|
||||||
UINT uTimeout,
|
UINT uTimeout,
|
||||||
ULONG_PTR *uResult);
|
ULONG_PTR *uResult);
|
||||||
|
|
||||||
|
BOOL FASTCALL UserSendNotifyMessage( HWND hWnd,UINT Msg,WPARAM wParam,LPARAM lParam );
|
||||||
LRESULT FASTCALL co_IntSendMessageNoWait(HWND hWnd,
|
LRESULT FASTCALL co_IntSendMessageNoWait(HWND hWnd,
|
||||||
UINT Msg,
|
UINT Msg,
|
||||||
WPARAM wParam,
|
WPARAM wParam,
|
||||||
|
|
|
@ -601,7 +601,7 @@ NtUserEmptyClipboard(VOID)
|
||||||
if (ret && ClipboardOwnerWindow)
|
if (ret && ClipboardOwnerWindow)
|
||||||
{
|
{
|
||||||
DPRINT("Clipboard: WM_DESTROYCLIPBOARD to %p", ClipboardOwnerWindow->head.h);
|
DPRINT("Clipboard: WM_DESTROYCLIPBOARD to %p", ClipboardOwnerWindow->head.h);
|
||||||
co_IntSendMessage( ClipboardOwnerWindow->head.h, WM_DESTROYCLIPBOARD, 0, 0);
|
co_IntSendMessageNoWait( ClipboardOwnerWindow->head.h, WM_DESTROYCLIPBOARD, 0, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
UserLeave();
|
UserLeave();
|
||||||
|
|
|
@ -79,10 +79,10 @@ co_IntSendActivateMessages(HWND hWndPrev, HWND hWnd, BOOL MouseActivate)
|
||||||
/* Send palette messages */
|
/* Send palette messages */
|
||||||
if (co_IntPostOrSendMessage(hWnd, WM_QUERYNEWPALETTE, 0, 0))
|
if (co_IntPostOrSendMessage(hWnd, WM_QUERYNEWPALETTE, 0, 0))
|
||||||
{
|
{
|
||||||
UserPostMessage( HWND_BROADCAST,
|
UserSendNotifyMessage( HWND_BROADCAST,
|
||||||
WM_PALETTEISCHANGING,
|
WM_PALETTEISCHANGING,
|
||||||
(WPARAM)hWnd,
|
(WPARAM)hWnd,
|
||||||
0);
|
0);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (Window->spwndPrev != NULL)
|
if (Window->spwndPrev != NULL)
|
||||||
|
|
|
@ -564,7 +564,7 @@ NtUserSetSysColors(
|
||||||
}
|
}
|
||||||
if (Ret)
|
if (Ret)
|
||||||
{
|
{
|
||||||
UserPostMessage(HWND_BROADCAST, WM_SYSCOLORCHANGE, 0, 0);
|
UserSendNotifyMessage(HWND_BROADCAST, WM_SYSCOLORCHANGE, 0, 0);
|
||||||
}
|
}
|
||||||
UserLeave();
|
UserLeave();
|
||||||
return Ret;
|
return Ret;
|
||||||
|
|
|
@ -1957,7 +1957,7 @@ UserRealizePalette(HDC hdc)
|
||||||
hWnd = IntWindowFromDC(hdc);
|
hWnd = IntWindowFromDC(hdc);
|
||||||
if (hWnd) // Send broadcast if dc is associated with a window.
|
if (hWnd) // Send broadcast if dc is associated with a window.
|
||||||
{ // FYI: Thread locked in CallOneParam.
|
{ // FYI: Thread locked in CallOneParam.
|
||||||
co_IntSendMessage((HWND)HWND_BROADCAST, WM_PALETTECHANGED, (WPARAM)hWnd, 0);
|
UserSendNotifyMessage((HWND)HWND_BROADCAST, WM_PALETTECHANGED, (WPARAM)hWnd, 0);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return Ret;
|
return Ret;
|
||||||
|
|
Loading…
Reference in a new issue