diff --git a/src/bin/e_comp.h b/src/bin/e_comp.h index 05de579ff..cf1b0f096 100644 --- a/src/bin/e_comp.h +++ b/src/bin/e_comp.h @@ -74,6 +74,7 @@ typedef struct E_Comp_Screen_Iface Eina_Bool (*key_down)(Ecore_Event_Key *ev); /* is key event eaten */ Eina_Bool (*key_up)(Ecore_Event_Key *ev); + Eina_Bool relative_motion : 1; } E_Comp_Screen_Iface; /* struct to hold canvas objects so that abi doesn't break diff --git a/src/bin/e_comp_x_randr.c b/src/bin/e_comp_x_randr.c index 20ab4e54b..a37d562a2 100644 --- a/src/bin/e_comp_x_randr.c +++ b/src/bin/e_comp_x_randr.c @@ -21,7 +21,8 @@ E_Comp_Screen_Iface xiface = .init = e_comp_x_randr_init, .shutdown = e_comp_x_randr_shutdown, .create = e_comp_x_randr_create, - .apply = e_comp_x_randr_config_apply + .apply = e_comp_x_randr_config_apply, + .relative_motion = EINA_FALSE, }; static void diff --git a/src/modules/wl_drm/e_mod_main.c b/src/modules/wl_drm/e_mod_main.c index 656f6e20a..09d8d2383 100644 --- a/src/modules/wl_drm/e_mod_main.c +++ b/src/modules/wl_drm/e_mod_main.c @@ -820,6 +820,7 @@ static E_Comp_Screen_Iface drmiface = .dpms = _drm2_dpms, .key_down = _drm2_key_down, .key_up = _drm2_key_up, + .relative_motion = EINA_TRUE, }; static Eina_Bool