Export gtk_synthesize_crossing_events internally

We want to use this for focus changes, now that
it can emit focus change events.
This commit is contained in:
Matthias Clasen 2019-03-06 23:39:53 -05:00
parent cdcd2bb073
commit adb547a147
2 changed files with 7 additions and 1 deletions

View File

@ -1466,7 +1466,7 @@ synth_crossing (GtkWidget *widget,
g_object_unref (event);
}
static void
void
gtk_synthesize_crossing_events (GtkWindow *toplevel,
GtkWidget *old_target,
GtkWidget *new_target,

View File

@ -242,6 +242,12 @@ GdkSurface * _gtk_widget_get_device_surface (GtkWidget *widget,
GdkDevice *device);
GList * _gtk_widget_list_devices (GtkWidget *widget);
void gtk_synthesize_crossing_events (GtkWindow *toplevel,
GtkWidget *from,
GtkWidget *to,
GdkEvent *event,
GdkCrossingMode mode);
void _gtk_widget_synthesize_crossing (GtkWidget *from,
GtkWidget *to,
GdkDevice *device,