projects
/
platform
/
upstream
/
enlightenment.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
90de293
)
e_pointer: set true to hwc of ptr if ec is on overlay
author
Changyeon Lee
<cyeon.lee@samsung.com>
Mon, 8 May 2017 14:28:16 +0000
(23:28 +0900)
committer
Juyeon Lee
<juyeonne.lee@samsung.com>
Thu, 11 May 2017 05:50:32 +0000
(14:50 +0900)
Change-Id: I77e2b37bcf61be7be24118f3c653158e9e5a1f5d
src/bin/e_pointer.c
patch
|
blob
|
history
diff --git
a/src/bin/e_pointer.c
b/src/bin/e_pointer.c
index 4c5c8d00fe13ae2bf499fe013d7ce96ccb04a287..33447bcb137656b09d02673e8686e59ad702fc7c 100644
(file)
--- a/
src/bin/e_pointer.c
+++ b/
src/bin/e_pointer.c
@@
-198,7
+198,7
@@
e_pointer_object_set(E_Pointer *ptr, Evas_Object *obj, int x, int y)
}
if (ptr->o_ptr != obj)
- ptr->hwc =
0
;
+ ptr->hwc =
EINA_FALSE
;
/* hide cursor object */
evas_object_hide(ptr->o_ptr);
@@
-229,6
+229,9
@@
e_pointer_object_set(E_Pointer *ptr, Evas_Object *obj, int x, int y)
evas_object_geometry_set(ec->frame, ec->x, ec->y, ec->w, ec->h);
ec->comp_data->mapped = EINA_TRUE;
ec->override = 0; /* do not ignore the cursor_ec to set the image object */
+
+ if (e_comp_is_on_overlay(ec))
+ ptr->hwc = EINA_TRUE;
}
ptr->o_ptr = obj;