Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYevgeny Makarov <jenkm>2020-10-01 12:50:10 +0300
committerBrecht Van Lommel <brecht@blender.org>2020-10-01 12:53:22 +0300
commitbcc6baec245a02a14392ae7ad22ca7c33fedef82 (patch)
treeaa39b56a90f567c50f481cf82f5da39696cb72d0 /intern/ghost/intern/GHOST_SystemCocoa.mm
parent63c906e0a7e59152601435bac2d06fb1b6df6592 (diff)
macOS: support for key repeat events in keymaps
Differential Revision: https://developer.blender.org/D8882
Diffstat (limited to 'intern/ghost/intern/GHOST_SystemCocoa.mm')
-rw-r--r--intern/ghost/intern/GHOST_SystemCocoa.mm2
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/ghost/intern/GHOST_SystemCocoa.mm b/intern/ghost/intern/GHOST_SystemCocoa.mm
index 8e9be626684..05d97b2dadd 100644
--- a/intern/ghost/intern/GHOST_SystemCocoa.mm
+++ b/intern/ghost/intern/GHOST_SystemCocoa.mm
@@ -1838,7 +1838,7 @@ GHOST_TSuccess GHOST_SystemCocoa::handleKeyEvent(void *eventPtr)
keyCode,
ascii,
utf8_buf,
- false));
+ [event isARepeat]));
#if 0
printf("Key down rawCode=0x%x charsIgnoringModifiers=%c keyCode=%u ascii=%i %c utf8=%s\n",
[event keyCode],