summaryrefslogtreecommitdiff
path: root/src/gui/gui.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/gui.zig')
-rw-r--r--src/gui/gui.zig9
1 files changed, 1 insertions, 8 deletions
diff --git a/src/gui/gui.zig b/src/gui/gui.zig
index 711f0657..95df9fac 100644
--- a/src/gui/gui.zig
+++ b/src/gui/gui.zig
@@ -2544,14 +2544,7 @@ fn localSession(
shell.gview = 0;
shell.windowed = 1;
shell.stopPtys();
- for (0..pardes.MAX_PANES) |wid| file_watch.watchPane(
- inotify_fd,
- &watches,
- @intCast(wid),
- null,
- 0,
- .{ .text = 0 },
- );
+ file_watch.unwatchAll(inotify_fd, &watches);
_ = file_watch.applyThemeEffect(core, gpa, inotify_fd, &watches, 0, false, false);
clearNativeImages(g);
g.presented_images.clearRetainingCapacity();