aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndre Weissflog <floooh@gmail.com>2019-06-08 15:45:00 +0200
committerAndre Weissflog <floooh@gmail.com>2019-06-08 15:45:00 +0200
commitb6c2a4b348a2c5a2c3f904b03fdfebf094e42069 (patch)
treed7ea73b23a00500b443bc389e2dee3b1d4d03783
parent66c36308296dd53f4c24362ef234bd9a0c419c47 (diff)
sokol_app.h macOS: don't check for key-repeat in flagsChanged events
-rw-r--r--sokol_app.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sokol_app.h b/sokol_app.h
index 0f31ce1e..ea5ca0c2 100644
--- a/sokol_app.h
+++ b/sokol_app.h
@@ -1506,7 +1506,7 @@ _SOKOL_PRIVATE void _sapp_macos_app_event(sapp_event_type type) {
if (key_code != SAPP_KEYCODE_INVALID) {
_sapp_macos_key_event(down ? SAPP_EVENTTYPE_KEY_DOWN : SAPP_EVENTTYPE_KEY_UP,
key_code,
- event.isARepeat,
+ false,
_sapp_macos_mod(event.modifierFlags));
}
}