Fix #40059: Use Modifier Keys Between Windows on Win32 #110020

Merged
Harley Acheson merged 1 commits from Harley/blender:Win32WindowModifiers into main 2023-07-12 20:01:43 +02:00

1 Commits

Author SHA1 Message Date
Harley Acheson 47592d6907 Fix #40059: Use Modifier Keys Between Windows on Win32
buildbot/vexp-code-patch-coordinator Build done. Details
Use modifier keys that are pressed before activating a new window.
Allows call of `wm_window_update_eventstate_modifiers` on
`GHOST_kEventWindowActivate` by using `GetAsyncKeyState` instead of
`GetKeyState` in GHOST_SystemWin32::getModifierKeys, which retrieves
actual hardware state.
2023-07-12 10:04:46 -07:00