summaryrefslogtreecommitdiff
path: root/src/modules/ecore_evas
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@osg.samsung.com>2017-07-21 16:17:55 -0400
committerMike Blumenkrantz <zmike@osg.samsung.com>2017-07-21 16:17:54 -0400
commit93bac8ce4a88064c430d55b34fa80bd914f2c2f9 (patch)
tree60a64b28537a354e0809568352f01254a7b6a7d3 /src/modules/ecore_evas
parent5070ecc99aeed399775a834e60b6485d61a35624 (diff)
wayland: stop creating 1x1 surfaces on init
fix T5226 #IGot99TicketsBut1x1AintOne
Diffstat (limited to 'src/modules/ecore_evas')
-rw-r--r--src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_common.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_common.c b/src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_common.c
index 3946f5e..eb36e96 100644
--- a/src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_common.c
+++ b/src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_common.c
@@ -184,9 +184,6 @@ _ecore_evas_wl_common_resize(Ecore_Evas *ee, int w, int h)
184 wdata = ee->engine.data; 184 wdata = ee->engine.data;
185 if (!wdata) return; 185 if (!wdata) return;
186 186
187 if (w < 1) w = 1;
188 if (h < 1) h = 1;
189
190 ee->req.w = w; 187 ee->req.w = w;
191 ee->req.h = h; 188 ee->req.h = h;
192 189
@@ -2275,9 +2272,6 @@ _ecore_evas_wl_common_new_internal(const char *disp_name, unsigned int parent, i
2275 ee->driver = engine_name; 2272 ee->driver = engine_name;
2276 if (disp_name) ee->name = strdup(disp_name); 2273 if (disp_name) ee->name = strdup(disp_name);
2277 2274
2278 if (w < 1) w = 1;
2279 if (h < 1) h = 1;
2280
2281 ee->x = x; 2275 ee->x = x;
2282 ee->y = y; 2276 ee->y = y;
2283 ee->w = w; 2277 ee->w = w;