forked from mirror/dwl
funnel all resizing through resize()
This commit is contained in:
parent
60c887f3c0
commit
073c35ae2f
1 changed files with 1 additions and 1 deletions
2
dwl.c
2
dwl.c
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue