If Ecore_Evas is requested to draw its own frame, then set the
framespace too. Otherwise, keep it at 0,0 + 0x0, which means not
framespace offset at all (and the window will have exactly the
requested size).
Ecore_Evas_Engine_Wl_Data *wdata;
Ecore_Evas *ee;
int method = 0, count = 0;
- int fx, fy, fw, fh;
+ int fx = 0, fy = 0, fw = 0, fh = 0;
LOGFN(__FILE__, __LINE__, __FUNCTION__);
ee->alpha = EINA_FALSE;
/* frame offset and size */
- fx = 4;
- fy = 18;
- fw = 8;
- fh = 22;
+ if (ee->prop.draw_frame)
+ {
+ fx = 4;
+ fy = 18;
+ fw = 8;
+ fh = 22;
+ }
ee->evas = evas_new();
evas_data_attach_set(ee->evas, ee);
Ecore_Evas_Interface_Wayland *iface;
Ecore_Evas *ee;
int method = 0, count = 0;
- int fx, fy, fw, fh;
+ int fx = 0, fy = 0, fw = 0, fh = 0;
LOGFN(__FILE__, __LINE__, __FUNCTION__);
ee->can_async_render = 1;
/* frame offset and size */
- fx = 4;
- fy = 18;
- fw = 8;
- fh = 22;
+ if (ee->prop.draw_frame)
+ {
+ fx = 4;
+ fy = 18;
+ fw = 8;
+ fh = 22;
+ }
ee->evas = evas_new();
evas_data_attach_set(ee->evas, ee);