mirror of
https://gitlab.gnome.org/GNOME/libmks.git
synced 2024-12-22 05:35:21 +00:00
lib: ensure display widget is focusable
Otherwise we won't get keyboard input.
This commit is contained in:
parent
7c63e051fd
commit
3d89b77ed2
@ -723,6 +723,8 @@ mks_display_init (MksDisplay *self)
|
||||
self,
|
||||
G_CONNECT_SWAPPED);
|
||||
gtk_widget_add_controller (GTK_WIDGET (self), controller);
|
||||
|
||||
gtk_widget_set_focusable (GTK_WIDGET (self), TRUE);
|
||||
}
|
||||
|
||||
GtkWidget *
|
||||
|
Loading…
Reference in New Issue
Block a user