From: Chris Michael Date: Thu, 15 Jun 2017 14:42:28 +0000 (-0400) Subject: ecore-evas-wayland: Add support for focus_skip_set X-Git-Tag: upstream/1.20.0~532 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8b29ae7609905c32ae9e3db700816334ef19e8fd;p=platform%2Fupstream%2Fefl.git ecore-evas-wayland: Add support for focus_skip_set This patch adds support for ecore_evas_focus_skip_set in the wayland engine. "#divergence" @feature Signed-off-by: Chris Michael --- diff --git a/src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_common.c b/src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_common.c index ac1481e..16a6c98 100644 --- a/src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_common.c +++ b/src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_common.c @@ -1432,6 +1432,18 @@ _ecore_evas_wl_common_aspect_set(Ecore_Evas *ee, double aspect) } static void +_ecore_evas_wl_common_focus_skip_set(Ecore_Evas *ee, Eina_Bool skip) +{ + Ecore_Evas_Engine_Wl_Data *wdata; + + wdata = ee->engine.data; + if (!wdata) return; + if (ee->prop.focus_skip == skip) return; + ee->prop.focus_skip = skip; + ecore_wl2_window_focus_skip_set(wdata->win, skip); +} + +static void _ecore_evas_wl_common_object_cursor_set(Ecore_Evas *ee, Evas_Object *obj, int layer EINA_UNUSED, int hot_x, int hot_y) { Ecore_Evas_Engine_Wl_Data *wdata; @@ -2172,7 +2184,7 @@ static Ecore_Evas_Engine_Func _ecore_wl_engine_func = NULL, // urgent set NULL, // modal set NULL, // demand attention set - NULL, // focus skip set + _ecore_evas_wl_common_focus_skip_set, NULL, //_ecore_evas_wl_common_render, _ecore_evas_wl_common_screen_geometry_get, _ecore_evas_wl_common_screen_dpi_get,