855fea34bf3dca653dcb945c8d2ee479fb1b47cb
last_focused_widget if the widget has been focused
When opening the event editor dialog as a new event, `set_new_event_mode()` immediately tries to focus the last focused widget, which won't work because it is unfocusable. `focus_last_focused_widget()` then clears clears the pointer regardless of whether the widget has successfully grabbed focus or not. So, we want to only clear focus if the widget has successfully grabbed focus. Related: https://gitlab.gnome.org/GNOME/gnome-calendar/-/issues/1566 Part-of: <https://gitlab.gnome.org/GNOME/gnome-calendar/-/merge_requests/730>
Installation
Links
- Homepage: apps.gnome.org/Calendar
- Report an issue: gitlab.gnome.org/GNOME/gnome-calendar/issues
- Donate: donate.gnome.org
- Translate: l10n.gnome.org/module/gnome-calendar
- Contact: matrix.to/#/#gnome-calendar:gnome.org
Contributing
For information on how to contribute, please check CONTRIBUTING.md and HACKING.md.
Languages
C
97.6%
Meson
1.2%
CSS
0.7%
Python
0.3%
Shell
0.2%
