summaryrefslogtreecommitdiff
path: root/gdk/broadway
diff options
context:
space:
mode:
Diffstat (limited to 'gdk/broadway')
-rw-r--r--gdk/broadway/gdkeventsource.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gdk/broadway/gdkeventsource.c b/gdk/broadway/gdkeventsource.c
index d5a1e8fde2..98fadfbf2b 100644
--- a/gdk/broadway/gdkeventsource.c
+++ b/gdk/broadway/gdkeventsource.c
@@ -97,7 +97,9 @@ handle_focus_change (GdkEvent *event)
focus_event = gdk_focus_event_new (gdk_event_get_surface (event),
gdk_event_get_device (event),
focus_in);
+G_GNUC_BEGIN_IGNORE_DEPRECATIONS
gdk_display_put_event (gdk_event_get_display (event), focus_event);
+G_GNUC_END_IGNORE_DEPRECATIONS
gdk_event_unref (focus_event);
}