#6161 Install hook before connection established

This commit is contained in:
Xinyu Hou 2017-09-29 12:14:09 -04:00
parent 0625daacde
commit 23464a38a7
1 changed files with 4 additions and 0 deletions

View File

@ -117,6 +117,10 @@ MSWindowsDesks::MSWindowsDesks(
if (hookLibrary != NULL)
queryHookLibrary(hookLibrary);
if (m_install != NULL && !m_isPrimary) {
m_install();
}
m_cursor = createBlankCursor();
m_deskClass = createDeskWindowClass(m_isPrimary);
m_keyLayout = GetKeyboardLayout(GetCurrentThreadId());