diff --git a/client.h b/client.h index 064e093..70a60ba 100644 --- a/client.h +++ b/client.h @@ -319,6 +319,9 @@ client_set_size(Client *c, uint32_t width, uint32_t height) return 0; } #endif + if (width == c->surface.xdg->toplevel->current.width + && height ==c->surface.xdg->toplevel->current.height) + return 0; return wlr_xdg_toplevel_set_size(c->surface.xdg->toplevel, width, height); }