summaryrefslogtreecommitdiff
path: root/legacy/ecore/src/lib/ecore_evas/ecore_evas_wince.c
diff options
context:
space:
mode:
authorVincent Torri <vincent.torri@gmail.com>2009-03-06 16:13:18 +0000
committerVincent Torri <vincent.torri@gmail.com>2009-03-06 16:13:18 +0000
commit0b5c7881a140ae80311ddb4568f411d50059be55 (patch)
tree49a2c7f29650f2cdeca98408d0c945c9da81dc25 /legacy/ecore/src/lib/ecore_evas/ecore_evas_wince.c
parent882e9214f15add31b36664bd3cd2eefcf661abd3 (diff)
* fix possible se fault (spotted by Lars Munch)
* add some info when keys are pressed SVN revision: 39393
Diffstat (limited to '')
-rw-r--r--legacy/ecore/src/lib/ecore_evas/ecore_evas_wince.c12
1 files changed, 10 insertions, 2 deletions
diff --git a/legacy/ecore/src/lib/ecore_evas/ecore_evas_wince.c b/legacy/ecore/src/lib/ecore_evas/ecore_evas_wince.c
index 047d01b13a..a358fafb99 100644
--- a/legacy/ecore/src/lib/ecore_evas/ecore_evas_wince.c
+++ b/legacy/ecore/src/lib/ecore_evas/ecore_evas_wince.c
@@ -254,6 +254,9 @@ _ecore_evas_wince_event_key_down(void *data __UNUSED__, int type __UNUSED__, voi
254 Ecore_WinCE_Event_Key_Down *e; 254 Ecore_WinCE_Event_Key_Down *e;
255 255
256 e = event; 256 e = event;
257
258 EINA_ERROR_PINFO("key down (%f %s %s %s)\n", e->time, e->keyname, e->keysymbol, e->keycompose);
259
257 ee = _ecore_evas_wince_match(e->window); 260 ee = _ecore_evas_wince_match(e->window);
258 if ((!ee) || (ee->ignore_events)) return 1; /* pass on event */ 261 if ((!ee) || (ee->ignore_events)) return 1; /* pass on event */
259 /* FIXME to do */ 262 /* FIXME to do */
@@ -270,6 +273,9 @@ _ecore_evas_wince_event_key_up(void *data __UNUSED__, int type __UNUSED__, void
270 Ecore_WinCE_Event_Key_Up *e; 273 Ecore_WinCE_Event_Key_Up *e;
271 274
272 e = event; 275 e = event;
276
277 EINA_ERROR_PINFO("key up (%f %s %s %s)\n", e->time, e->keyname, e->keysymbol, e->keycompose);
278
273 ee = _ecore_evas_wince_match(e->window); 279 ee = _ecore_evas_wince_match(e->window);
274 if ((!ee) || (ee->ignore_events)) return 1; /* pass on event */ 280 if ((!ee) || (ee->ignore_events)) return 1; /* pass on event */
275 /* FIXME to do */ 281 /* FIXME to do */
@@ -286,9 +292,10 @@ _ecore_evas_wince_event_mouse_button_down(void *data __UNUSED__, int type __UNUS
286 Ecore_WinCE_Event_Mouse_Button_Down *e; 292 Ecore_WinCE_Event_Mouse_Button_Down *e;
287 Evas_Button_Flags flags = EVAS_BUTTON_NONE; 293 Evas_Button_Flags flags = EVAS_BUTTON_NONE;
288 294
295 e = event;
296
289 EINA_ERROR_PINFO("mouse button down (%f %dx%d)\n", e->time, e->x, e->y); 297 EINA_ERROR_PINFO("mouse button down (%f %dx%d)\n", e->time, e->x, e->y);
290 298
291 e = event;
292 ee = _ecore_evas_wince_match(e->window); 299 ee = _ecore_evas_wince_match(e->window);
293 if ((!ee) || (ee->ignore_events)) return 1; /* pass on event */ 300 if ((!ee) || (ee->ignore_events)) return 1; /* pass on event */
294 if (e->window != ee->engine.wince.window) return 1; 301 if (e->window != ee->engine.wince.window) return 1;
@@ -308,9 +315,10 @@ _ecore_evas_wince_event_mouse_button_up(void *data __UNUSED__, int type __UNUSED
308 Ecore_WinCE_Event_Mouse_Button_Up *e; 315 Ecore_WinCE_Event_Mouse_Button_Up *e;
309 Evas_Button_Flags flags = EVAS_BUTTON_NONE; 316 Evas_Button_Flags flags = EVAS_BUTTON_NONE;
310 317
318 e = event;
319
311 EINA_ERROR_PINFO("mouse button up (%f %dx%d)\n", e->time, e->x, e->y); 320 EINA_ERROR_PINFO("mouse button up (%f %dx%d)\n", e->time, e->x, e->y);
312 321
313 e = event;
314 ee = _ecore_evas_wince_match(e->window); 322 ee = _ecore_evas_wince_match(e->window);
315 if ((!ee) || (ee->ignore_events)) return 1; /* pass on event */ 323 if ((!ee) || (ee->ignore_events)) return 1; /* pass on event */
316 if (e->window != ee->engine.wince.window) return 1; 324 if (e->window != ee->engine.wince.window) return 1;