mirror of
https://gitlab.gnome.org/GNOME/libmks.git
synced 2024-12-22 05:35:21 +00:00
lib: set controller to capture phase
Just so we don't chance it and loose events to GTK.
This commit is contained in:
parent
d533773cf7
commit
5657997f4a
@ -770,6 +770,7 @@ mks_display_init (MksDisplay *self)
|
||||
G_CALLBACK (mks_display_legacy_event_cb),
|
||||
self,
|
||||
G_CONNECT_SWAPPED);
|
||||
gtk_event_controller_set_propagation_phase (controller, GTK_PHASE_CAPTURE);
|
||||
gtk_widget_add_controller (GTK_WIDGET (self), controller);
|
||||
|
||||
gtk_widget_set_focusable (GTK_WIDGET (self), TRUE);
|
||||
|
Loading…
Reference in New Issue
Block a user