Commit cc70ac10 authored by Matthias Clasen's avatar Matthias Clasen

wayland: Emit GdkKeymap::state-changed when appropriate

This makes the caps lock warning in password entries work.
parent 1ea760fb
......@@ -1075,6 +1075,8 @@ keyboard_handle_modifiers (void *data,
device->modifiers = mods_depressed | mods_latched | mods_locked;
xkb_state_update_mask (xkb_state, mods_depressed, mods_latched, mods_locked, group, 0, 0);
g_signal_emit_by_name (keymap, "state-changed");
static const struct wl_pointer_listener pointer_listener = {
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment