ee = data;
ev = event_info;
+ if (!ee->evas) return;
_ecore_evas_buffer_transfer_modifiers_locks(e, ee->evas);
evas_event_feed_mouse_in(ee->evas, ev->timestamp, NULL);
}
ee = data;
ev = event_info;
+ if (!ee->evas) return;
_ecore_evas_buffer_transfer_modifiers_locks(e, ee->evas);
evas_event_feed_mouse_out(ee->evas, ev->timestamp, NULL);
}
ee = data;
ev = event_info;
+ if (!ee->evas) return;
_ecore_evas_buffer_transfer_modifiers_locks(e, ee->evas);
evas_event_feed_mouse_down(ee->evas, ev->button, ev->flags, ev->timestamp, NULL);
}
ee = data;
ev = event_info;
+ if (!ee->evas) return;
_ecore_evas_buffer_transfer_modifiers_locks(e, ee->evas);
evas_event_feed_mouse_up(ee->evas, ev->button, ev->flags, ev->timestamp, NULL);
}
ev = event_info;
x = ev->cur.canvas.x;
y = ev->cur.canvas.y;
+ if (!ee->evas) return;
_ecore_evas_buffer_coord_translate(ee, &x, &y);
_ecore_evas_buffer_transfer_modifiers_locks(e, ee->evas);
_ecore_evas_mouse_move_process(ee, x, y, ev->timestamp);
ee = data;
ev = event_info;
+ if (!ee->evas) return;
_ecore_evas_buffer_transfer_modifiers_locks(e, ee->evas);
evas_event_feed_mouse_wheel(ee->evas, ev->direction, ev->z, ev->timestamp, NULL);
}
y = ev->canvas.y;
xx = x;
yy = y;
+ if (!ee->evas) return;
_ecore_evas_buffer_coord_translate(ee, &x, &y);
xf = (ev->canvas.xsub - (double)xx) + (double)x;
yf = (ev->canvas.ysub - (double)yy) + (double)y;
y = ev->canvas.y;
xx = x;
yy = y;
+ if (!ee->evas) return;
_ecore_evas_buffer_coord_translate(ee, &x, &y);
xf = (ev->canvas.xsub - (double)xx) + (double)x;
yf = (ev->canvas.ysub - (double)yy) + (double)y;
y = ev->cur.canvas.y;
xx = x;
yy = y;
+ if (!ee->evas) return;
_ecore_evas_buffer_coord_translate(ee, &x, &y);
xf = (ev->cur.canvas.xsub - (double)xx) + (double)x;
yf = (ev->cur.canvas.ysub - (double)yy) + (double)y;
ee = data;
ev = event_info;
+ if (!ee->evas) return;
_ecore_evas_buffer_transfer_modifiers_locks(e, ee->evas);
evas_event_feed_key_down(ee->evas, ev->keyname, ev->key, ev->string, ev->compose, ev->timestamp, NULL);
}
ee = data;
ev = event_info;
+ if (!ee->evas) return;
_ecore_evas_buffer_transfer_modifiers_locks(e, ee->evas);
evas_event_feed_key_up(ee->evas, ev->keyname, ev->key, ev->string, ev->compose, ev->timestamp, NULL);
}
Ecore_Evas *ee;
ee = data;
+ if (!ee->evas) return;
_ecore_evas_focus_device_set(ee, NULL, EINA_TRUE);
}
Ecore_Evas *ee;
ee = data;
+ if (!ee->evas) return;
_ecore_evas_focus_device_set(ee, NULL, EINA_FALSE);
}