summaryrefslogtreecommitdiff
path: root/src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_egl.c
diff options
context:
space:
mode:
authorRafael Antognolli <rafael.antognolli@intel.com>2013-04-22 16:44:43 -0300
committerRafael Antognolli <rafael.antognolli@intel.com>2013-04-23 18:52:35 -0300
commitdba2fc5aa5a8546367faa6c4a8e7c07beda2c29f (patch)
tree6fa96244f2490ff4ee695e85ff5b4c2eafd65502 /src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_egl.c
parentde4173ee0af28465b43c4eac1f4c64cf43d38fcf (diff)
ecore_evas/wayland: Change the default frame smart object.
Add 4 rectangles to be used as border of the window, instead of a single rectangle under the framespace. This allows to move the frame object to the top layer, instead of staying on the lowest layer. With the frame over the other objects, there's no need of framespace clipper object, which causes several bugs.
Diffstat (limited to 'src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_egl.c')
-rw-r--r--src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_egl.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_egl.c b/src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_egl.c
index 90e0746..cbad243 100644
--- a/src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_egl.c
+++ b/src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_egl.c
@@ -207,9 +207,10 @@ ecore_evas_wayland_egl_new_internal(const char *disp_name, unsigned int parent,
207 if (ee->prop.draw_frame) 207 if (ee->prop.draw_frame)
208 { 208 {
209 wdata->frame = _ecore_evas_wl_common_frame_add(ee->evas); 209 wdata->frame = _ecore_evas_wl_common_frame_add(ee->evas);
210 _ecore_evas_wl_common_frame_border_size_set(wdata->frame, fx, fy, fw, fh);
210 evas_object_is_frame_object_set(wdata->frame, EINA_TRUE); 211 evas_object_is_frame_object_set(wdata->frame, EINA_TRUE);
211 evas_object_move(wdata->frame, 0, 0); 212 evas_object_move(wdata->frame, 0, 0);
212 evas_object_layer_set(wdata->frame, EVAS_LAYER_MIN); 213 evas_object_layer_set(wdata->frame, EVAS_LAYER_MAX - 1);
213 } 214 }
214 215
215 _ecore_evas_register(ee); 216 _ecore_evas_register(ee);