Add the generic input events handling
Identify the window

Get the ecore window from the backend so we can check if the
ecore event comes from ourselves