From 2a0b6ddebd3d4ab65d6153ee3503b701cdb9eb6f Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Fri, 2 Jun 2017 18:23:44 -0400 Subject: [PATCH] evas_device: remove unused code ref 6775b23212305c957f4447c708053585f361bb86 --- src/lib/evas/canvas/evas_device.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/lib/evas/canvas/evas_device.c b/src/lib/evas/canvas/evas_device.c index ae048e6..92e21f8 100644 --- a/src/lib/evas/canvas/evas_device.c +++ b/src/lib/evas/canvas/evas_device.c @@ -192,13 +192,10 @@ evas_device_add_full(Evas *eo_e, const char *name, const char *desc, if (e->default_mouse) { - int x, y; - if ((clas == EVAS_DEVICE_CLASS_MOUSE) && (parent_dev == e->default_seat) && (evas_device_class_get(e->default_mouse) != EVAS_DEVICE_CLASS_MOUSE)) { - evas_pointer_canvas_xy_get(eo_e, &x, &y); evas_event_feed_mouse_out(eo_e, 0, NULL); e->default_mouse = dev; evas_event_feed_mouse_in(eo_e, 0, NULL); -- 2.7.4