[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:
Hermès Bélusca-Maïto
2015-12-12 21:47:14 +00:00
parent 6518065a73
commit 70e2eedd98
+3 -2
View File
@@ -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;
}