Index: main.c =================================================================== --- win32ss/user/ntuser/main.c (revision 75017) +++ win32ss/user/ntuser/main.c (working copy) @@ -708,6 +708,8 @@ ptiCurrent->TIF_flags |= TIF_DONTATTACHQUEUE; ptiCurrent->pClientInfo->dwTIFlags = ptiCurrent->TIF_flags; + UserCloseClipboard(); + /* Decrement thread count and check if its 0 */ ppiCurrent->cThreads--;