summaryrefslogtreecommitdiff
path: root/src/lib/ecore_input_evas
diff options
context:
space:
mode:
authorSebastian Dransfeld <sebastian.dransfeld@sintef.no>2013-06-20 13:28:18 +0200
committerSebastian Dransfeld <sebastian.dransfeld@sintef.no>2013-06-20 13:28:18 +0200
commit336f6ec32814a119a4b7f7ea8063c1d56da5e387 (patch)
tree7011bbc69cc3e8671c139fd0a226220517dc2fcf /src/lib/ecore_input_evas
parentb1c97a0da41e9bc998b3d9cf5c724c297582068f (diff)
efl: formatting
Diffstat (limited to 'src/lib/ecore_input_evas')
-rw-r--r--src/lib/ecore_input_evas/ecore_input_evas.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/ecore_input_evas/ecore_input_evas.c b/src/lib/ecore_input_evas/ecore_input_evas.c
index 57ed890957..8669226983 100644
--- a/src/lib/ecore_input_evas/ecore_input_evas.c
+++ b/src/lib/ecore_input_evas/ecore_input_evas.c
@@ -114,10 +114,10 @@ _ecore_event_evas_push_mouse_button(Ecore_Event_Mouse_Button *e, Ecore_Event_Pre
114{ 114{
115 Ecore_Event_Last *eel; 115 Ecore_Event_Last *eel;
116 116
117 if (!_last_events_enable) return ; 117 if (!_last_events_enable) return;
118 118
119 eel = _ecore_event_evas_lookup(e->multi.device, e->buttons, EINA_TRUE); 119 eel = _ecore_event_evas_lookup(e->multi.device, e->buttons, EINA_TRUE);
120 if (!eel) return ; 120 if (!eel) return;
121 121
122 switch (eel->state) 122 switch (eel->state)
123 { 123 {
@@ -158,7 +158,7 @@ _ecore_event_evas_push_mouse_button(Ecore_Event_Mouse_Button *e, Ecore_Event_Pre
158 { 158 {
159 /* Save the Ecore_Event somehow */ 159 /* Save the Ecore_Event somehow */
160 if (!eel->ev) eel->ev = malloc(sizeof (Ecore_Event_Mouse_Button)); 160 if (!eel->ev) eel->ev = malloc(sizeof (Ecore_Event_Mouse_Button));
161 if (!eel->ev) return ; 161 if (!eel->ev) return;
162 memcpy(eel->ev, e, sizeof (Ecore_Event_Mouse_Button)); 162 memcpy(eel->ev, e, sizeof (Ecore_Event_Mouse_Button));
163 eel->timer = ecore_timer_add(_last_events_timeout, _ecore_event_evas_push_fake, eel); 163 eel->timer = ecore_timer_add(_last_events_timeout, _ecore_event_evas_push_fake, eel);
164 } 164 }
@@ -176,7 +176,7 @@ _ecore_event_evas_push_mouse_move(Ecore_Event_Mouse_Move *e)
176 Ecore_Event_Last *eel; 176 Ecore_Event_Last *eel;
177 Eina_List *l; 177 Eina_List *l;
178 178
179 if (!_last_events_enable) return ; 179 if (!_last_events_enable) return;
180 180
181 EINA_LIST_FOREACH(_last_events, l, eel) 181 EINA_LIST_FOREACH(_last_events, l, eel)
182 switch (eel->state) 182 switch (eel->state)