From bf47bb580faa5d762d48a281a0b81fda861ba8f7 Mon Sep 17 00:00:00 2001 From: Mikkel Hansen Date: Mon, 24 Apr 2023 20:22:14 +0200 Subject: [PATCH] Workaround not presenting window on notification click (#237) --- src/Actions.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/Actions.js b/src/Actions.js index 43968e6..62d5f8c 100644 --- a/src/Actions.js +++ b/src/Actions.js @@ -40,6 +40,9 @@ export default function Actions({ window, application, selectTab }) { selectTab(instance); } + // FIXME: temporary workaround + // Calling this twice to work around: https://gitlab.gnome.org/GNOME/gtk/-/issues/5239 + window.present(); window.present(); }); application.add_action(showInstanceAction);