Handle QEventLoop::ExcludeUserInputEvents in QWindowSystemInterface.