summaryrefslogtreecommitdiff
path: root/src/modules/ecore_evas/engines/sdl
diff options
context:
space:
mode:
authorChris Michael <cp.michael@samsung.com>2014-06-25 13:20:13 -0400
committerChris Michael <cp.michael@samsung.com>2014-06-25 13:20:49 -0400
commitedb1202a84f4b413f02ecfa950e08c66fcf2ed26 (patch)
treeff85094f3c47d469034a5a4ebc27d2a0f55d977a /src/modules/ecore_evas/engines/sdl
parent87af84c3e37429694fff6f04e70332dc1bcc8c5d (diff)
ecore-evas: Fix formatting and remove whitespace
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Diffstat (limited to 'src/modules/ecore_evas/engines/sdl')
-rw-r--r--src/modules/ecore_evas/engines/sdl/ecore_evas_sdl.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/modules/ecore_evas/engines/sdl/ecore_evas_sdl.c b/src/modules/ecore_evas/engines/sdl/ecore_evas_sdl.c
index d54e042620..dcfa6cf373 100644
--- a/src/modules/ecore_evas/engines/sdl/ecore_evas_sdl.c
+++ b/src/modules/ecore_evas/engines/sdl/ecore_evas_sdl.c
@@ -358,7 +358,7 @@ _ecore_evas_object_cursor_set(Ecore_Evas *ee, Evas_Object *obj, int layer, int h
358{ 358{
359 int x, y; 359 int x, y;
360 Evas_Object *old; 360 Evas_Object *old;
361 361
362 old = ee->prop.cursor.object; 362 old = ee->prop.cursor.object;
363 if (obj == NULL) 363 if (obj == NULL)
364 { 364 {
@@ -368,12 +368,12 @@ _ecore_evas_object_cursor_set(Ecore_Evas *ee, Evas_Object *obj, int layer, int h
368 ee->prop.cursor.hot.y = 0; 368 ee->prop.cursor.hot.y = 0;
369 goto end; 369 goto end;
370 } 370 }
371 371
372 ee->prop.cursor.object = obj; 372 ee->prop.cursor.object = obj;
373 ee->prop.cursor.layer = layer; 373 ee->prop.cursor.layer = layer;
374 ee->prop.cursor.hot.x = hot_x; 374 ee->prop.cursor.hot.x = hot_x;
375 ee->prop.cursor.hot.y = hot_y; 375 ee->prop.cursor.hot.y = hot_y;
376 376
377 evas_pointer_output_xy_get(ee->evas, &x, &y); 377 evas_pointer_output_xy_get(ee->evas, &x, &y);
378 378
379 if (obj != old) 379 if (obj != old)
@@ -385,9 +385,10 @@ _ecore_evas_object_cursor_set(Ecore_Evas *ee, Evas_Object *obj, int layer, int h
385 evas_object_event_callback_add(obj, EVAS_CALLBACK_DEL, 385 evas_object_event_callback_add(obj, EVAS_CALLBACK_DEL,
386 _ecore_evas_object_cursor_del, ee); 386 _ecore_evas_object_cursor_del, ee);
387 } 387 }
388 evas_object_move(ee->prop.cursor.object, 388
389 x - ee->prop.cursor.hot.x, 389 evas_object_move(ee->prop.cursor.object, x - ee->prop.cursor.hot.x,
390 y - ee->prop.cursor.hot.y); 390 y - ee->prop.cursor.hot.y);
391
391end: 392end:
392 if ((old) && (obj != old)) 393 if ((old) && (obj != old))
393 { 394 {