From 7be43df09976de34ae59f86656b05299b1806e35 Mon Sep 17 00:00:00 2001 From: Hari Rana Date: Wed, 25 Jun 2025 19:07:24 -0400 Subject: [PATCH] event-editor/multi-choice: Always set focus-visible flag when focused This is to ensure that the focus ring never disappears until the toggle button is unfocused. Part-of: --- src/gui/event-editor/gcal-multi-choice.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/gui/event-editor/gcal-multi-choice.c b/src/gui/event-editor/gcal-multi-choice.c index 0ba2c9e2..308e0359 100644 --- a/src/gui/event-editor/gcal-multi-choice.c +++ b/src/gui/event-editor/gcal-multi-choice.c @@ -465,6 +465,9 @@ gcal_multi_choice_state_flags_changed (GtkWidget *widget, { GcalMultiChoice *self = GCAL_MULTI_CHOICE (widget); + if (gtk_widget_is_focus (self->button)) + gtk_widget_set_state_flags (self->button, GTK_STATE_FLAG_FOCUS_VISIBLE, FALSE); + if (!gtk_widget_is_sensitive (widget)) { if (self->popover)