Fix Windows Mobile bustage due to bug 503892. r=roc

--HG--
extra : rebase_source : 8f391dee1106e5d22b48264971d207606983029f
This commit is contained in:
Rob Arnold 2009-07-22 16:38:05 -07:00
parent 145236e39f
commit b079bc80b6

View File

@ -2744,11 +2744,15 @@ nsWindow::HasPendingInputEvent()
// reported to the application.
if (HIWORD(GetQueueStatus(QS_INPUT)))
return PR_TRUE;
#ifdef WINCE
return PR_FALSE;
#else
GUITHREADINFO guiInfo;
guiInfo.cbSize = sizeof(GUITHREADINFO);
if (!GetGUIThreadInfo(GetCurrentThreadId(), &guiInfo))
return PR_FALSE;
return GUI_INMOVESIZE == (guiInfo.flags & GUI_INMOVESIZE);
#endif
}
/**************************************************************