devilhorns pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=f0e90d25e34b817befaddaf1126b1991b8f07119
commit f0e90d25e34b817befaddaf1126b1991b8f07119 Author: Chris Michael <cp.mich...@samsung.com> Date: Wed Apr 9 09:41:02 2014 +0100 ecore-wl: Optimize setting of window input region @bugfix: Store the input region into the window structure, and don't re-add a duplicate input region (done by comparison of saved region). Signed-off-by: Chris Michael <cp.mich...@samsung.com> --- src/lib/ecore_wayland/ecore_wl_window.c | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/lib/ecore_wayland/ecore_wl_window.c b/src/lib/ecore_wayland/ecore_wl_window.c index 92b656e..5dfb35c 100644 --- a/src/lib/ecore_wayland/ecore_wl_window.c +++ b/src/lib/ecore_wayland/ecore_wl_window.c @@ -602,6 +602,17 @@ ecore_wl_window_input_region_set(Ecore_Wl_Window *win, int x, int y, int w, int if (!win) return; + win->input.x = x; + win->input.y = y; + if ((w > 0) && (h > 0)) + { + if ((win->input.w == w) && (win->input.h == h)) + return; + + win->input.w = w; + win->input.h = h; + } + if ((win->type != ECORE_WL_WINDOW_TYPE_FULLSCREEN) || (win->type != ECORE_WL_WINDOW_TYPE_DND)) { --