diff options
Diffstat (limited to 'src/win.c')
-rw-r--r-- | src/win.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -579,7 +579,8 @@ initKeyEvent(PuglKeyEvent* event, const PuglKey special = keySymToSpecial(vkey, ext); if (special) { - event->key = (uint32_t)special; + event->key = (uint32_t)special; + event->state = puglFilterMods(event->state, special); } else if (!dead) { // Translate unshifted key BYTE keyboardState[256] = PUGL_INIT_STRUCT; |