diff --git a/src/xev.zig b/src/xev.zig index 828623e..d0c0673 100644 --- a/src/xev.zig +++ b/src/xev.zig @@ -99,8 +99,6 @@ pub fn TtyWatcher(comptime Userdata: type) type { .callback = Self.signalCallback, }; try Tty.notifyWinsize(handler); - const winsize = try Tty.getWinsize(self.tty.fd); - _ = self.callback(self.ud, loop, self, .{ .winsize = winsize }); } fn signalCallback(ptr: *anyopaque) void {