view: fix typo causing UB on resizing xwayland views
This commit is contained in:
parent
d413db9227
commit
3c951fed74
@ -341,7 +341,7 @@ 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,
|
||||
.xwayland_view => {},
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user