Commit 35c2ca6
committed
Bump core: shortcut callbacks survive self-replacement; Windows registers global shortcuts
Merges libnativeapi/nativeapi-core#82 and the follow-ups: shortcut callbacks are guarded across threads, and Windows registers hotkeys on the thread that owns its message window, so global shortcuts work there at all.1 parent 64d35cd commit 35c2ca6
1 file changed
Lines changed: 1 addition & 1 deletion
- src/platform/linux/window_manager_linux.cpp+10-6
- src/platform/macos/window_manager_macos.mm+10-6
- src/platform/windows/shortcut_manager_windows.cpp+35-11
- src/platform/windows/window_manager_windows.cpp+12-8
- src/shortcut.cpp+33-8
- src/shortcut.h+16-2
- tests/CMakeLists.txt+10-1
- tests/callback_lifetime_test.cpp+31
- tests/shortcut_manager_windows_test.cpp+71
0 commit comments