forked from enlightenment/efl
ecore_evas: avoid using non initialized value for cursor position in X backend.
CID 1195445.
This commit is contained in:
parent
cb43636bd1
commit
2401bb047d
|
@ -2970,7 +2970,7 @@ _ecore_evas_object_cursor_del(void *data, Evas *e EINA_UNUSED, Evas_Object *obj
|
|||
static void
|
||||
_ecore_evas_x_object_cursor_set(Ecore_Evas *ee, Evas_Object *obj, int layer, int hot_x, int hot_y)
|
||||
{
|
||||
int x, y;
|
||||
int x = 0, y = 0;
|
||||
Evas_Object *old;
|
||||
|
||||
old = ee->prop.cursor.object;
|
||||
|
|
Loading…
Reference in New Issue