summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCedric Bail <cedric.bail@free.fr>2014-04-17 21:16:12 +0200
committerCedric Bail <cedric.bail@free.fr>2014-04-17 21:16:12 +0200
commit2401bb047d5620a217252a9c78be4ef307290497 (patch)
tree58267f024fd10521a3618804b3d79f9004117b34
parentcb43636bd128a927b0923a4331f2e5c29f264fea (diff)
ecore_evas: avoid using non initialized value for cursor position in X backend.
CID 1195445.
-rw-r--r--src/modules/ecore_evas/engines/x/ecore_evas_x.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/ecore_evas/engines/x/ecore_evas_x.c b/src/modules/ecore_evas/engines/x/ecore_evas_x.c
index 97086cf..0de4dd6 100644
--- a/src/modules/ecore_evas/engines/x/ecore_evas_x.c
+++ b/src/modules/ecore_evas/engines/x/ecore_evas_x.c
@@ -2970,7 +2970,7 @@ _ecore_evas_object_cursor_del(void *data, Evas *e EINA_UNUSED, Evas_Object *obj
2970static void 2970static void
2971_ecore_evas_x_object_cursor_set(Ecore_Evas *ee, Evas_Object *obj, int layer, int hot_x, int hot_y) 2971_ecore_evas_x_object_cursor_set(Ecore_Evas *ee, Evas_Object *obj, int layer, int hot_x, int hot_y)
2972{ 2972{
2973 int x, y; 2973 int x = 0, y = 0;
2974 Evas_Object *old; 2974 Evas_Object *old;
2975 2975
2976 old = ee->prop.cursor.object; 2976 old = ee->prop.cursor.object;