projects
/
platform
/
upstream
/
enlightenment.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
31a48d3
)
e_input_evdev: remove warning - reduce the number of conditional operators
89/163089/2
author
Sung-Jin Park
<sj76.park@samsung.com>
Thu, 7 Dec 2017 06:52:55 +0000
(15:52 +0900)
committer
Sung-Jin Park
<sj76.park@samsung.com>
Thu, 7 Dec 2017 06:54:03 +0000
(06:54 +0000)
Change-Id: I7cee5b833e6800d1c08807287a8d21db6435f3ba
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
src/bin/e_input_evdev.c
patch
|
blob
|
history
diff --git
a/src/bin/e_input_evdev.c
b/src/bin/e_input_evdev.c
index 26bb6510ac7cdb8599e4ece35e58fc073e04427e..f24c9f3ee28ca044a3f3ee943d4e90307294f238 100644
(file)
--- a/
src/bin/e_input_evdev.c
+++ b/
src/bin/e_input_evdev.c
@@
-224,15
+224,15
@@
_device_modifiers_update_device(E_Input_Evdev *edev, E_Input_Evdev *from)
static void
_device_modifiers_update(E_Input_Evdev *edev)
{
+ Eina_List *l;
+ E_Input_Evdev *ed;
+
edev->xkb.modifiers = 0;
if (edev->caps & E_INPUT_SEAT_KEYBOARD)
_device_modifiers_update_device(edev, edev);
else
{
- Eina_List *l;
- E_Input_Evdev *ed;
-
EINA_LIST_FOREACH(edev->seat->devices, l, ed)
{
if (!(ed->caps & E_INPUT_SEAT_KEYBOARD)) continue;