aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/elementary
diff options
context:
space:
mode:
authorChris Michael <cp.michael@samsung.com>2016-10-24 09:47:47 -0400
committerChris Michael <cp.michael@samsung.com>2016-10-24 13:08:00 -0400
commitf56dc8d0c36d45d318f430fb04eae8b2dccd9f14 (patch)
tree8657d8fd40a5bbb99c28d93febf7da1f6181756d /src/lib/elementary
parentelementary: Don't try to set pointer edj if there is no pointer (diff)
downloadefl-f56dc8d0c36d45d318f430fb04eae8b2dccd9f14.tar.gz
elementary: Don't always show pointer object
If we are using softcursor mode during intercept show, then we should check that the pointer is actually in the canvas before showing it else we end up with mouse pointers drawn on the canvas even when the mouse itself is nowhere near a window. Signed-off-by: Chris Michael <cp.michael@samsung.com>
Diffstat (limited to 'src/lib/elementary')
-rw-r--r--src/lib/elementary/efl_ui_win.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/elementary/efl_ui_win.c b/src/lib/elementary/efl_ui_win.c
index df7702d6e2..4f62271dcd 100644
--- a/src/lib/elementary/efl_ui_win.c
+++ b/src/lib/elementary/efl_ui_win.c
@@ -2773,7 +2773,8 @@ _elm_win_obj_intercept_show(void *data,
#if 0
ecore_evas_show(sd->pointer.ee);
#endif
- evas_object_show(sd->pointer.obj);
+ if (evas_pointer_inside_get(sd->evas))
+ evas_object_show(sd->pointer.obj);
}
evas_object_show(obj);
#ifdef ELEMENTARY_X