summary refs log tree commit diff
diff options
context:
space:
mode:
authorJake Grossman <jake.r.grossman@gmail.com>2023-07-07 09:40:09 -0500
committerGitHub <noreply@github.com>2023-07-08 00:40:09 +1000
commite648b84da3db022ba308163f21c3cf8165c45e09 (patch)
treebfc995c15afe97ea4b0b11a8f6bc9aa011b36d6f
parentb36e017f0a14e3e84017739b7dcff98394cccfa0 (diff)
Allow key override to respect weak mods caused by caps word (#21434)
-rw-r--r--quantum/quantum.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/quantum/quantum.c b/quantum/quantum.c
index fe3e85720d..c6a40a4baa 100644
--- a/quantum/quantum.c
+++ b/quantum/quantum.c
@@ -310,15 +310,15 @@ bool process_record_quantum(keyrecord_t *record) {
 #if (defined(AUDIO_ENABLE) || (defined(MIDI_ENABLE) && defined(MIDI_BASIC))) && !defined(NO_MUSIC_MODE)
             process_music(keycode, record) &&
 #endif
+#ifdef CAPS_WORD_ENABLE
+            process_caps_word(keycode, record) &&
+#endif
 #ifdef KEY_OVERRIDE_ENABLE
             process_key_override(keycode, record) &&
 #endif
 #ifdef TAP_DANCE_ENABLE
             process_tap_dance(keycode, record) &&
 #endif
-#ifdef CAPS_WORD_ENABLE
-            process_caps_word(keycode, record) &&
-#endif
 #if defined(UNICODE_COMMON_ENABLE)
             process_unicode_common(keycode, record) &&
 #endif