mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-14 15:56:13 +03:00
Update comments
This commit is contained in:
@ -363,7 +363,11 @@ fn focusCallback(window: glfw.Window, focused: bool) void {
|
|||||||
defer tracy.end();
|
defer tracy.end();
|
||||||
|
|
||||||
const win = window.getUserPointer(Window) orelse return;
|
const win = window.getUserPointer(Window) orelse return;
|
||||||
|
|
||||||
|
// We have to schedule a render because no matter what we're changing
|
||||||
|
// the cursor.
|
||||||
win.render_timer.schedule() catch unreachable;
|
win.render_timer.schedule() catch unreachable;
|
||||||
|
|
||||||
if (focused) {
|
if (focused) {
|
||||||
win.wakeup = true;
|
win.wakeup = true;
|
||||||
win.cursor_timer.start(cursorTimerCallback, 0, win.cursor_timer.getRepeat()) catch unreachable;
|
win.cursor_timer.start(cursorTimerCallback, 0, win.cursor_timer.getRepeat()) catch unreachable;
|
||||||
|
Reference in New Issue
Block a user