mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-05 23:51:29 +02:00
Fix X11/Wayland addTimer returning incorrect timer ids
This commit is contained in:
2
glfw/backend_utils.c
vendored
2
glfw/backend_utils.c
vendored
@@ -122,7 +122,7 @@ addTimer(EventLoopData *eld, const char *name, double interval, int enabled, boo
|
||||
t->free = free;
|
||||
t->id = ++timer_counter;
|
||||
update_timers(eld);
|
||||
return t->id;
|
||||
return timer_counter;
|
||||
}
|
||||
|
||||
void
|
||||
|
||||
Reference in New Issue
Block a user