~ruther/dwl

073c35ae2f96bb6a48e628e49897cb392e63094a — Devin J. Pohly 5 years ago 60c887f
funnel all resizing through resize()
1 files changed, 1 insertions(+), 1 deletions(-)

M dwl.c
M dwl.c => dwl.c +1 -1
@@ 647,7 647,7 @@ motionnotify(uint32_t time)
		 * compositor, you'd wait for the client to prepare a buffer at
		 * the new size, then commit any movement that was prepared.
		 */
		wlr_xdg_toplevel_set_size(grabc->xdg_surface,
		resize(grabc, grabc->x, grabc->y,
				cursor->x - grabc->x, cursor->y - grabc->y);
		return;
	}

Do not follow this link