devilhorns pushed a commit to branch master.
commit 8f02899b9ad4e442858e745c89a8535edd733444
Author: Chris Michael <[email protected]>
Date: Sun Jun 9 09:40:50 2013 +0100
Don't try to send an updated keymap if we have no keyboard resource.
Signed-off-by: Chris Michael <[email protected]>
---
src/bin/e_comp_wl.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/src/bin/e_comp_wl.c b/src/bin/e_comp_wl.c
index 72652b6..7dd1f30 100644
--- a/src/bin/e_comp_wl.c
+++ b/src/bin/e_comp_wl.c
@@ -1544,6 +1544,10 @@ _e_comp_wl_cb_keymap_changed(void *data EINA_UNUSED, int
type EINA_UNUSED, void
xkb_map_unref(keymap);
}
+ /* check for valid keyboard */
+ if (!_e_wl_comp->input->wl.keyboard_resource)
+ return ECORE_CALLBACK_PASS_ON;
+
/* send the current keymap to the keyboard object */
wl_keyboard_send_keymap(_e_wl_comp->input->wl.keyboard_resource,
WL_KEYBOARD_KEYMAP_FORMAT_XKB_V1,
--
------------------------------------------------------------------------------
How ServiceNow helps IT people transform IT departments:
1. A cloud service to automate IT design, transition and operations
2. Dashboards that offer high-level views of enterprise services
3. A single system of record for all IT processes
http://p.sf.net/sfu/servicenow-d2d-j