diff --git a/client.h b/client.h index eb1bb47..a6fe207 100644 --- a/client.h +++ b/client.h @@ -376,9 +376,7 @@ client_set_size(Client *c, uint32_t width, uint32_t height) return; } #endif - if ((int32_t)width != c->surface.xdg->toplevel->current.width - || (int32_t)height != c->surface.xdg->toplevel->current.height) - wlr_xdg_toplevel_set_size(c->surface.xdg->toplevel, (int32_t)width, (int32_t)height); + wlr_xdg_toplevel_set_size(c->surface.xdg->toplevel, (int32_t)width, (int32_t)height); } static inline void