summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/lib/ecore_wl2/ecore_wl2_window.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/lib/ecore_wl2/ecore_wl2_window.c b/src/lib/ecore_wl2/ecore_wl2_window.c
index b9fdb5c303..fc395072d9 100644
--- a/src/lib/ecore_wl2/ecore_wl2_window.c
+++ b/src/lib/ecore_wl2/ecore_wl2_window.c
@@ -129,11 +129,12 @@ _xdg_surface_cb_configure(void *data, struct xdg_surface *xdg_surface EINA_UNUSE
129 win->configure_serial = serial; 129 win->configure_serial = serial;
130 if ((win->geometry.w == w) && (win->geometry.h == h)) 130 if ((win->geometry.w == w) && (win->geometry.h == h))
131 w = h = 0; 131 w = h = 0;
132 else if ((!w) && (!h) && 132 else if ((!w) && (!h) && (!win->fullscreen) && (!win->maximized) &&
133 (!win->fullscreen) && (!win->maximized) && ((win->fullscreen != fs) || (win->maximized != max))) 133 ((win->fullscreen != fs) || (win->maximized != max)))
134 w = win->saved.w, h = win->saved.h; 134 w = win->saved.w, h = win->saved.h;
135 135
136 _ecore_wl2_window_configure_send(win, w, h, !!win->resizing, win->fullscreen, win->maximized); 136 _ecore_wl2_window_configure_send(win, w, h, !!win->resizing,
137 win->fullscreen, win->maximized);
137} 138}
138 139
139static void 140static void