diff options
author | George Hazan <george.hazan@gmail.com> | 2012-11-28 12:32:41 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2012-11-28 12:32:41 +0000 |
commit | 81dfe1bf71946f983584f6241d97046d5f897857 (patch) | |
tree | e68b18d3108ab3832fd6063a023d4326c9c4667e /src/modules/skin/hotkeys.cpp | |
parent | 2bce9eed3fa90110623a3fb5ef38cb7890420634 (diff) |
- removed borkred clutch for RecvChain;
- fixed problems with PROTOTYPE_VIRTUAL registration
- restored hMainThreadId variable in miranda32.exe
git-svn-id: http://svn.miranda-ng.org/main/trunk@2536 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src/modules/skin/hotkeys.cpp')
-rw-r--r-- | src/modules/skin/hotkeys.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/skin/hotkeys.cpp b/src/modules/skin/hotkeys.cpp index 96f1f7c268..81b24e2e42 100644 --- a/src/modules/skin/hotkeys.cpp +++ b/src/modules/skin/hotkeys.cpp @@ -357,7 +357,7 @@ int LoadSkinHotkeys(void) g_hwndHotkeyHost = CreateWindow(_T("MirandaHotkeyHostWnd"), NULL, 0, CW_USEDEFAULT, CW_USEDEFAULT, CW_USEDEFAULT, CW_USEDEFAULT, HWND_DESKTOP, NULL, hInst, NULL);
SetWindowPos(g_hwndHotkeyHost, 0, 0, 0, 0, 0, SWP_NOZORDER|SWP_NOMOVE|SWP_NOSIZE|SWP_NOACTIVATE|SWP_DEFERERASE|SWP_NOSENDCHANGING|SWP_HIDEWINDOW);
- hhkKeyboard = SetWindowsHookEx(WH_KEYBOARD, sttKeyboardProc, NULL, GetCurrentThreadId());
+ hhkKeyboard = SetWindowsHookEx(WH_KEYBOARD, sttKeyboardProc, NULL, hMainThreadId);
hEvChanged = CreateHookableEvent(ME_HOTKEYS_CHANGED);
|