client: do not drop configure events based on current committed size

This commit is contained in:
André Desgualdo Pereira
2026-09-21 14:35:09 -03:00
parent f22c223cbf
commit 242ffd7a75
+1 -3
View File
@@ -376,9 +376,7 @@ client_set_size(Client *c, uint32_t width, uint32_t height)
return; return;
} }
#endif #endif
if ((int32_t)width != c->surface.xdg->toplevel->current.width wlr_xdg_toplevel_set_size(c->surface.xdg->toplevel, (int32_t)width, (int32_t)height);
|| (int32_t)height != c->surface.xdg->toplevel->current.height)
wlr_xdg_toplevel_set_size(c->surface.xdg->toplevel, (int32_t)width, (int32_t)height);
} }
static inline void static inline void