mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-16 08:46:08 +03:00
adw: clear stored tab overview timer
This prevents a GTK warning: ``` (process:354789): GLib-CRITICAL **: 19:07:01.853: Source ID 511 was not found when attempting to remove it ``` which happens when trying to clean a timer already used.
This commit is contained in:
@ -571,6 +571,7 @@ fn adwTabOverviewOpen(
|
||||
fn adwTabOverviewFocusTimer(
|
||||
self: *Window,
|
||||
) callconv(.C) c.gboolean {
|
||||
self.adw_tab_overview_focus_timer = null;
|
||||
self.focusCurrentTab();
|
||||
|
||||
// Remove the timer
|
||||
|
Reference in New Issue
Block a user