libsysprof-gtk: try harder to get motion events

I still see some occasionaly hiccups in the GtkEventControllerMotion where
if you move slowly from the SysprofTimeRuler area to the headerbar, you
might not get a GtkEventControllerMotion::leave event triggered. But we
can deal with that later as that's clearly something we should be able to
expect to be triggered.
This commit is contained in:
Christian Hergert
2023-07-05 11:31:18 -07:00
parent 16ea3f6f64
commit a2da225216

View File

@ -5,7 +5,7 @@
<object class="GtkBox" id="box">
<child>
<object class="GtkEventControllerMotion" id="motion">
<property name="propagation-phase">bubble</property>
<property name="propagation-phase">capture</property>
<signal name="enter" handler="sysprof_tracks_view_motion_enter_cb" swapped="true"/>
<signal name="leave" handler="sysprof_tracks_view_motion_leave_cb" swapped="true"/>
<signal name="motion" handler="sysprof_tracks_view_motion_cb" swapped="true"/>