forked from enlightenment/efl
Check for valid xkb state before trying to update modifiers from it.
Signed-off-by: Chris Michael <devilhorns@comcast.net>
This commit is contained in:
parent
6aab5a9690
commit
4d05ee2d3d
|
@ -728,6 +728,7 @@ _ecore_wl_input_cb_keyboard_modifiers(void *data, struct wl_keyboard *keyboard E
|
||||||
LOGFN(__FILE__, __LINE__, __FUNCTION__);
|
LOGFN(__FILE__, __LINE__, __FUNCTION__);
|
||||||
|
|
||||||
if (!(input = data)) return;
|
if (!(input = data)) return;
|
||||||
|
if (!input->xkb.state) return;
|
||||||
|
|
||||||
xkb_state_update_mask(input->xkb.state, depressed, latched,
|
xkb_state_update_mask(input->xkb.state, depressed, latched,
|
||||||
locked, 0, 0, group);
|
locked, 0, 0, group);
|
||||||
|
|
Loading…
Reference in New Issue