diff options
Diffstat (limited to 'src/gui')
| -rw-r--r-- | src/gui/gui.zig | 9 |
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(); |
