summaryrefslogtreecommitdiff
path: root/src/lib/evas/include/evas_private.h
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2016-11-16 18:09:37 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2016-11-16 20:48:58 +0900
commitf50b0fed133b63887e43686bf3410bec422c5025 (patch)
tree7434a00d1c608869e31407bd813d929eed11fbb3 /src/lib/evas/include/evas_private.h
parentac5ca9281c5ea374fb6d77c867cf478f29e70a83 (diff)
elm/evas: Fix disappearance of window icons with CSD
After a few patches trying to fix clipping of frame or non-frame objects the icon finally ended up invisible. Even if the elm_icon was marked as is_frame, its internal evas object image would not have the flag set, thus it would be clipped out. Solution: Propagate the is_frame flag to all smart children, not only when setting it but also when adding new members. A hack with the API indicates that the frame edje is a very special object that does not propagate the flag. See also: 7ce79be1a1748c32c4d0e58358ce2242902cf89b 0f6c33eff106f7235351dd51ce7835041f548cc1 9c9c8809a7d90a5ab61c2c930c4cdaeb1d8e8c6a ac5ca9281c5ea374fb6d77c867cf478f29e70a83
Diffstat (limited to 'src/lib/evas/include/evas_private.h')
-rw-r--r--src/lib/evas/include/evas_private.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/evas/include/evas_private.h b/src/lib/evas/include/evas_private.h
index bb24435567..65e7023a2c 100644
--- a/src/lib/evas/include/evas_private.h
+++ b/src/lib/evas/include/evas_private.h
@@ -1172,6 +1172,7 @@ struct _Evas_Object_Protected_Data
1172 Eina_Bool del_ref : 1; 1172 Eina_Bool del_ref : 1;
1173 1173
1174 Eina_Bool is_frame : 1; 1174 Eina_Bool is_frame : 1;
1175 Eina_Bool is_frame_top : 1; // this is the frame edje
1175 Eina_Bool child_has_map : 1; 1176 Eina_Bool child_has_map : 1;
1176 Eina_Bool efl_del_called : 1; 1177 Eina_Bool efl_del_called : 1;
1177 Eina_Bool is_smart : 1; 1178 Eina_Bool is_smart : 1;