xdg-shell: set resizing state during interactive resize

This commit is contained in:
Isaac Freund
2021-07-14 15:32:24 +02:00
parent 7b18b4944e
commit d413db9227
3 changed files with 36 additions and 13 deletions

View File

@ -338,6 +338,13 @@ pub fn setFullscreen(self: Self, fullscreen: bool) void {
}
}
pub fn setResizing(self: Self, resizing: bool) void {
switch (self.impl) {
.xdg_toplevel => |xdg_toplevel| xdg_toplevel.setResizing(resizing),
.xwayland_view => unreachable,
}
}
pub inline fn forEachPopupSurface(
self: Self,
comptime T: type,