view: fix typo causing UB on resizing xwayland views
This commit is contained in:
parent
d413db9227
commit
3c951fed74
1 changed files with 1 additions and 1 deletions
|
@ -341,7 +341,7 @@ pub fn setFullscreen(self: Self, fullscreen: bool) void {
|
||||||
pub fn setResizing(self: Self, resizing: bool) void {
|
pub fn setResizing(self: Self, resizing: bool) void {
|
||||||
switch (self.impl) {
|
switch (self.impl) {
|
||||||
.xdg_toplevel => |xdg_toplevel| xdg_toplevel.setResizing(resizing),
|
.xdg_toplevel => |xdg_toplevel| xdg_toplevel.setResizing(resizing),
|
||||||
.xwayland_view => unreachable,
|
.xwayland_view => {},
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue