From b2b600257359d742c9d4ca27a32a6596ea096070 Mon Sep 17 00:00:00 2001 From: Hari Rana Date: Wed, 26 Aug 2026 21:09:33 -0400 Subject: [PATCH] views/month-view: Skip view when tabbing backward with Control on event widget When an event widget is focused, there is no way to skip the entire view with key combinations. This patch addresses this by allowing the user to skip the entire view when pressing Ctrl+Shift+Tab. Part-of: --- src/gui/views/gcal-month-view.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/gui/views/gcal-month-view.c b/src/gui/views/gcal-month-view.c index 389626be..7cb591b0 100644 --- a/src/gui/views/gcal-month-view.c +++ b/src/gui/views/gcal-month-view.c @@ -1702,6 +1702,9 @@ gcal_month_view_focus (GtkWidget *widget, if (gtk_widget_is_ancestor (focused, self->overflow.popover)) GCAL_RETURN (gtk_widget_grab_focus (self->overflow.relative_to)); + if (direction == GTK_DIR_TAB_BACKWARD) + GCAL_RETURN (FALSE); + row = gtk_widget_get_ancestor (focused, GCAL_TYPE_MONTH_VIEW_ROW); GCAL_RETURN (gcal_month_view_row_focus_underlying_cell (GCAL_MONTH_VIEW_ROW (row), focused));