mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-03 04:13:31 +00:00
[WIN32K:CLIP]
- Adjust the type of some variables. - Correctly set the fClipboardChanged flag to TRUE when emptying the clipboard: now this correctly triggers sending the WM_DRAWCLIPBOARD message to windows. Adapted from a patch by Ricardo Hanke. CORE-10351 svn path=/trunk/; revision=70334
This commit is contained in:
@@ -40,7 +40,7 @@ IntGetWinStaForCbAccess(VOID)
|
||||
static PCLIP FASTCALL
|
||||
IntIsFormatAvailable(PWINSTATION_OBJECT pWinStaObj, UINT fmt)
|
||||
{
|
||||
unsigned i = 0;
|
||||
DWORD i;
|
||||
|
||||
for (i = 0; i < pWinStaObj->cNumClipFormats; ++i)
|
||||
{
|
||||
@@ -335,7 +335,7 @@ IntAddSynthesizedFormats(PWINSTATION_OBJECT pWinStaObj)
|
||||
VOID NTAPI
|
||||
UserEmptyClipboardData(PWINSTATION_OBJECT pWinSta)
|
||||
{
|
||||
unsigned i;
|
||||
DWORD i;
|
||||
PCLIP pElement;
|
||||
|
||||
for (i = 0; i < pWinSta->cNumClipFormats; ++i)
|
||||
@@ -630,6 +630,7 @@ UserEmptyClipboard(VOID)
|
||||
pWinStaObj->spwndClipOwner = pWinStaObj->spwndClipOpen;
|
||||
|
||||
pWinStaObj->iClipSequenceNumber++;
|
||||
pWinStaObj->fClipboardChanged = TRUE;
|
||||
|
||||
bRet = TRUE;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user