mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-16 08:46:08 +03:00
renderer/metal: remove unnecessary logs
This commit is contained in:
@ -747,10 +747,8 @@ pub fn setVisible(self: *Metal, visible: bool) void {
|
||||
if (comptime DisplayLink != void) link: {
|
||||
const display_link = self.display_link orelse break :link;
|
||||
if (visible and self.focused) {
|
||||
log.warn("starting display link because window is visible", .{});
|
||||
display_link.start() catch {};
|
||||
} else {
|
||||
log.warn("stopping display link because window is not visible", .{});
|
||||
display_link.stop() catch {};
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user