summaryrefslogtreecommitdiff
path: root/src/modules/ecore_evas
diff options
context:
space:
mode:
authorChris Michael <cp.michael@samsung.com>2017-06-15 10:42:28 -0400
committerChris Michael <cp.michael@samsung.com>2017-06-15 10:42:28 -0400
commit8b29ae7609905c32ae9e3db700816334ef19e8fd (patch)
treed1df9133990958f4614f67019bb705361ba1d488 /src/modules/ecore_evas
parent689d77daf6b93b514c309384a076ec9d18442a47 (diff)
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 <cp.michael@samsung.com>
Diffstat (limited to 'src/modules/ecore_evas')
-rw-r--r--src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_common.c14
1 files changed, 13 insertions, 1 deletions
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)
1432} 1432}
1433 1433
1434static void 1434static void
1435_ecore_evas_wl_common_focus_skip_set(Ecore_Evas *ee, Eina_Bool skip)
1436{
1437 Ecore_Evas_Engine_Wl_Data *wdata;
1438
1439 wdata = ee->engine.data;
1440 if (!wdata) return;
1441 if (ee->prop.focus_skip == skip) return;
1442 ee->prop.focus_skip = skip;
1443 ecore_wl2_window_focus_skip_set(wdata->win, skip);
1444}
1445
1446static void
1435_ecore_evas_wl_common_object_cursor_set(Ecore_Evas *ee, Evas_Object *obj, int layer EINA_UNUSED, int hot_x, int hot_y) 1447_ecore_evas_wl_common_object_cursor_set(Ecore_Evas *ee, Evas_Object *obj, int layer EINA_UNUSED, int hot_x, int hot_y)
1436{ 1448{
1437 Ecore_Evas_Engine_Wl_Data *wdata; 1449 Ecore_Evas_Engine_Wl_Data *wdata;
@@ -2172,7 +2184,7 @@ static Ecore_Evas_Engine_Func _ecore_wl_engine_func =
2172 NULL, // urgent set 2184 NULL, // urgent set
2173 NULL, // modal set 2185 NULL, // modal set
2174 NULL, // demand attention set 2186 NULL, // demand attention set
2175 NULL, // focus skip set 2187 _ecore_evas_wl_common_focus_skip_set,
2176 NULL, //_ecore_evas_wl_common_render, 2188 NULL, //_ecore_evas_wl_common_render,
2177 _ecore_evas_wl_common_screen_geometry_get, 2189 _ecore_evas_wl_common_screen_geometry_get,
2178 _ecore_evas_wl_common_screen_dpi_get, 2190 _ecore_evas_wl_common_screen_dpi_get,