mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-16 16:56:09 +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(
|
fn adwTabOverviewFocusTimer(
|
||||||
self: *Window,
|
self: *Window,
|
||||||
) callconv(.C) c.gboolean {
|
) callconv(.C) c.gboolean {
|
||||||
|
self.adw_tab_overview_focus_timer = null;
|
||||||
self.focusCurrentTab();
|
self.focusCurrentTab();
|
||||||
|
|
||||||
// Remove the timer
|
// Remove the timer
|
||||||
|
Reference in New Issue
Block a user