aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIsaac Freund <ifreund@ifreund.xyz>2021-07-14 23:51:49 +0200
committerIsaac Freund <ifreund@ifreund.xyz>2021-07-14 23:51:49 +0200
commit3c951fed7401a372d216d70add1ac0b10e52f1a9 (patch)
tree00f8f9cfe85c2069f5241ec35dcce9f500b246f6
parentd413db92270eef22c7de19c13fd555cc12e6db19 (diff)
downloadriver-3c951fed7401a372d216d70add1ac0b10e52f1a9.tar.gz
river-3c951fed7401a372d216d70add1ac0b10e52f1a9.tar.xz
view: fix typo causing UB on resizing xwayland views
-rw-r--r--river/View.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/river/View.zig b/river/View.zig
index 567a910..acc6f25 100644
--- a/river/View.zig
+++ b/river/View.zig
@@ -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 => {},
}
}