summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lib/ecore_wl2/ecore_wl2_window.c4
-rw-r--r--src/lib/ecore_wl2/window_v6.x4
2 files changed, 6 insertions, 2 deletions
diff --git a/src/lib/ecore_wl2/ecore_wl2_window.c b/src/lib/ecore_wl2/ecore_wl2_window.c
index 031287500a..0e1cddb8bf 100644
--- a/src/lib/ecore_wl2/ecore_wl2_window.c
+++ b/src/lib/ecore_wl2/ecore_wl2_window.c
@@ -205,13 +205,15 @@ _xdg_surface_cb_configure(void *data, struct xdg_surface *xdg_surface EINA_UNUSE
205 { 205 {
206 window->saved.w = window->set_config.geometry.w; 206 window->saved.w = window->set_config.geometry.w;
207 window->saved.h = window->set_config.geometry.h; 207 window->saved.h = window->set_config.geometry.h;
208 _configure_complete(window);
209 } 208 }
210 if (window->pending.configure && window->updating) 209 if (window->pending.configure && window->updating)
211 ERR("Window shouldn't be rendering before initial configure"); 210 ERR("Window shouldn't be rendering before initial configure");
212 211
213 if (!window->updating) 212 if (!window->updating)
214 _ecore_wl2_window_configure_send(window); 213 _ecore_wl2_window_configure_send(window);
214
215 if (window->pending.configure)
216 _configure_complete(window);
215} 217}
216 218
217static const struct xdg_surface_listener _xdg_surface_listener = 219static const struct xdg_surface_listener _xdg_surface_listener =
diff --git a/src/lib/ecore_wl2/window_v6.x b/src/lib/ecore_wl2/window_v6.x
index 4d8ece5ae6..333586a2ac 100644
--- a/src/lib/ecore_wl2/window_v6.x
+++ b/src/lib/ecore_wl2/window_v6.x
@@ -11,13 +11,15 @@ _zxdg_surface_cb_configure(void *data, struct zxdg_surface_v6 *zxdg_surface EINA
11 { 11 {
12 window->saved.w = window->set_config.geometry.w; 12 window->saved.w = window->set_config.geometry.w;
13 window->saved.h = window->set_config.geometry.h; 13 window->saved.h = window->set_config.geometry.h;
14 _configure_complete(window);
15 } 14 }
16 if (window->pending.configure && window->updating) 15 if (window->pending.configure && window->updating)
17 ERR("Window shouldn't be rendering before initial configure"); 16 ERR("Window shouldn't be rendering before initial configure");
18 17
19 if (!window->updating) 18 if (!window->updating)
20 _ecore_wl2_window_configure_send(window); 19 _ecore_wl2_window_configure_send(window);
20
21 if (window->pending.configure)
22 _configure_complete(window);
21} 23}
22 24
23static const struct zxdg_surface_v6_listener _zxdg_surface_listener = 25static const struct zxdg_surface_v6_listener _zxdg_surface_listener =