this fixes the case where a configure event with the current window geometry
would cause (inaccurate) resizes
@fix
}
win->configure_serial = serial;
+ if ((win->geometry.w == w) && (win->geometry.h == h))
+ w = h = 0;
- if ((w > 0) && (h > 0))
- _ecore_wl2_window_configure_send(win, w, h, 0);
+ _ecore_wl2_window_configure_send(win, w, h, 0);
}
static void
nw = ev->w;
nh = ev->h;
- if (nw < 1) nw = 1;
- if (nh < 1) nh = 1;
if (prev_full != ee->prop.fullscreen)
_ecore_evas_wl_common_border_update(ee);
(prev_full != ee->prop.fullscreen))
_ecore_evas_wl_common_state_update(ee);
+ if ((!nw) && (!nh)) return ECORE_CALLBACK_RENEW;
/* NB: We receive window configure sizes based on xdg surface
* window geometry, so we need to subtract framespace here */
evas_output_framespace_get(ee->evas, NULL, &fy, NULL, NULL);