aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDevin J. Pohly <djpohly@gmail.com>2020-04-23 22:21:40 -0500
committerDevin J. Pohly <djpohly@gmail.com>2020-04-23 23:35:54 -0500
commit073c35ae2f96bb6a48e628e49897cb392e63094a (patch)
tree05e3085bb288cc8b5c2084a9a06e0433d7589767
parent60c887f3c0f24c01d53d0adaf0cc4027dc629340 (diff)
funnel all resizing through resize()
-rw-r--r--dwl.c2
1 files changed, 1 insertions, 1 deletions
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;
}