summaryrefslogtreecommitdiff
path: root/src/lib/elput/elput_evdev.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/lib/elput/elput_evdev.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/elput/elput_evdev.c b/src/lib/elput/elput_evdev.c
index b041bb6785..454b4a85de 100644
--- a/src/lib/elput/elput_evdev.c
+++ b/src/lib/elput/elput_evdev.c
@@ -80,6 +80,8 @@ _keyboard_modifiers_update(Elput_Keyboard *kbd, Elput_Seat *seat)
80 seat->modifiers |= ECORE_EVENT_MODIFIER_WIN; 80 seat->modifiers |= ECORE_EVENT_MODIFIER_WIN;
81 if (mask & kbd->info->mods.altgr) 81 if (mask & kbd->info->mods.altgr)
82 seat->modifiers |= ECORE_EVENT_MODIFIER_ALTGR; 82 seat->modifiers |= ECORE_EVENT_MODIFIER_ALTGR;
83 if (mask & kbd->info->mods.caps)
84 seat->modifiers |= ECORE_EVENT_MODIFIER_CAPS;
83 85
84 if (xkb_state_led_index_is_active(kbd->state, kbd->info->leds.num)) 86 if (xkb_state_led_index_is_active(kbd->state, kbd->info->leds.num))
85 leds |= ELPUT_LED_NUM; 87 leds |= ELPUT_LED_NUM;