devilhorns pushed a commit to branch master.
commit 4d05ee2d3d91cae78599fd077a76682b6b955145
Author: Chris Michael <[email protected]>
Date: Wed Jul 17 16:53:04 2013 +0100
Check for valid xkb state before trying to update modifiers from it.
Signed-off-by: Chris Michael <[email protected]>
---
src/lib/ecore_wayland/ecore_wl_input.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/lib/ecore_wayland/ecore_wl_input.c
b/src/lib/ecore_wayland/ecore_wl_input.c
index d76fe19..ec533ea 100644
--- a/src/lib/ecore_wayland/ecore_wl_input.c
+++ b/src/lib/ecore_wayland/ecore_wl_input.c
@@ -728,6 +728,7 @@ _ecore_wl_input_cb_keyboard_modifiers(void *data, struct
wl_keyboard *keyboard E
LOGFN(__FILE__, __LINE__, __FUNCTION__);
if (!(input = data)) return;
+ if (!input->xkb.state) return;
xkb_state_update_mask(input->xkb.state, depressed, latched,
locked, 0, 0, group);
--
------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk