mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-17 01:06: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: {
|
if (comptime DisplayLink != void) link: {
|
||||||
const display_link = self.display_link orelse break :link;
|
const display_link = self.display_link orelse break :link;
|
||||||
if (visible and self.focused) {
|
if (visible and self.focused) {
|
||||||
log.warn("starting display link because window is visible", .{});
|
|
||||||
display_link.start() catch {};
|
display_link.start() catch {};
|
||||||
} else {
|
} else {
|
||||||
log.warn("stopping display link because window is not visible", .{});
|
|
||||||
display_link.stop() catch {};
|
display_link.stop() catch {};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user