funnel all resizing through resize()

This commit is contained in:
Devin J. Pohly 2020-04-23 22:21:40 -05:00
parent 60c887f3c0
commit 073c35ae2f

2
dwl.c
View File

@ -647,7 +647,7 @@ motionnotify(uint32_t time)
* compositor, you'd wait for the client to prepare a buffer at * compositor, you'd wait for the client to prepare a buffer at
* the new size, then commit any movement that was prepared. * 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); cursor->x - grabc->x, cursor->y - grabc->y);
return; return;
} }