commit 073c35ae2f96bb6a48e628e49897cb392e63094a
parent 60c887f3c0f24c01d53d0adaf0cc4027dc629340
Author: Devin J. Pohly <djpohly@gmail.com>
Date: Thu, 23 Apr 2020 22:21:40 -0500
funnel all resizing through resize()
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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;
}