xdg-toplevel: allow edge_none for resizing

This commit is contained in:
Kirill Primak 2024-05-07 09:45:58 +03:00
parent 293b0aa502
commit 9c50cd71b6

View File

@ -298,6 +298,7 @@ static void xdg_toplevel_handle_resize(struct wl_client *client,
wlr_seat_client_from_resource(seat_resource);
switch (edges) {
case XDG_TOPLEVEL_RESIZE_EDGE_NONE:
case XDG_TOPLEVEL_RESIZE_EDGE_TOP:
case XDG_TOPLEVEL_RESIZE_EDGE_BOTTOM:
case XDG_TOPLEVEL_RESIZE_EDGE_LEFT: