mirror of
https://github.com/debauchee/barrier.git
synced 2026-05-10 00:11:43 +08:00
#6161 Install hook before connection established
This commit is contained in:
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user