views/month-view-row: Replace "adjacent with "overlaying" event

"Adjacent" is incorrect because we are focusing the event that is
in front of the month cell.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-calendar/-/merge_requests/816>
This commit is contained in:
Hari Rana
2026-08-25 22:02:50 -04:00
parent 14869fa02b
commit 2e5379982b
3 changed files with 6 additions and 6 deletions
+4 -4
View File
@@ -1467,17 +1467,17 @@ gcal_month_view_row_focus_underlying_cell (GcalMonthViewRow *self,
}
/**
* gcal_month_view_row_focus_adjacent_event:
* gcal_month_view_row_focus_overlaying_event:
* @self: a #GcalMonthViewRow
* @widget: the month cell
*
* Focuses the adjacent event widget.
* Focuses the overlaying event widget.
*
* Returns: %TRUE if the event widget grabbed focus
*/
gboolean
gcal_month_view_row_focus_adjacent_event (GcalMonthViewRow *self,
GtkWidget *widget)
gcal_month_view_row_focus_overlaying_event (GcalMonthViewRow *self,
GtkWidget *widget)
{
GtkWidget *picked_widget, *event_widget;
graphene_rect_t rect;