xdg-shell: honor client move/resize requests

This commit is contained in:
Isaac Freund
2023-03-03 20:09:20 +01:00
parent c29153255c
commit 915fb7ae7b
2 changed files with 50 additions and 1 deletions

View File

@ -741,7 +741,7 @@ fn computeEdges(cursor: *const Self, view: *const View) wlr.Edges {
}
fn enterMode(cursor: *Self, mode: Mode, view: *View, image: Image) void {
assert(cursor.mode == .passthrough);
assert(cursor.mode == .passthrough or cursor.mode == .down);
assert(mode == .move or mode == .resize);
log.debug("enter {s} cursor mode", .{@tagName(mode)});