~ruther/dwl

be854cab35bc090ab3f6fbad3a0f93013294226d — Leonardo Hernández Hernández 2 years ago 6ca0114
do not try to resize if size wouldn't change
1 files changed, 3 insertions(+), 0 deletions(-)

M client.h
M client.h => client.h +3 -0
@@ 345,6 345,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);
}


Do not follow this link