projects
/
platform
/
upstream
/
efl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c0894f4
)
ecore-drm: Reset modifiers to zero before updating them on keypress
author
Chris Michael
<cp.michael@samsung.com>
Mon, 10 Mar 2014 13:44:29 +0000
(13:44 +0000)
committer
Chris Michael
<cp.michael@samsung.com>
Mon, 10 Mar 2014 13:44:29 +0000
(13:44 +0000)
Signed-off-by: Chris Michael <cp.michael@samsung.com>
src/lib/ecore_drm/ecore_drm_evdev.c
patch
|
blob
|
history
diff --git
a/src/lib/ecore_drm/ecore_drm_evdev.c
b/src/lib/ecore_drm/ecore_drm_evdev.c
index
1c0a3da
..
4c52104
100644
(file)
--- a/
src/lib/ecore_drm/ecore_drm_evdev.c
+++ b/
src/lib/ecore_drm/ecore_drm_evdev.c
@@
-42,9
+42,6
@@
_device_keyboard_setup(Ecore_Drm_Evdev *edev)
return;
}
- /* FIXME: setup modifiers ? */
- edev->xkb.modifiers = 0;
-
edev->xkb.ctrl_mask =
1 << xkb_map_mod_get_index(edev->xkb.keymap, XKB_MOD_NAME_CTRL);
edev->xkb.alt_mask =
@@
-251,6
+248,8
@@
_device_modifiers_update(Ecore_Drm_Evdev *edev)
{
xkb_mod_mask_t mask;
+ edev->xkb.modifiers = 0;
+
edev->xkb.depressed =
xkb_state_serialize_mods(edev->xkb.state, XKB_STATE_DEPRESSED);
edev->xkb.latched =