From 073c35ae2f96bb6a48e628e49897cb392e63094a Mon Sep 17 00:00:00 2001 From: "Devin J. Pohly" Date: Thu, 23 Apr 2020 22:21:40 -0500 Subject: [PATCH] funnel all resizing through resize() --- dwl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dwl.c b/dwl.c index 45f099d..cc41d3a 100644 --- a/dwl.c +++ b/dwl.c @@ -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; }