diff options
Diffstat (limited to 'gdk/x11/gdkdisplay-x11.c')
-rw-r--r-- | gdk/x11/gdkdisplay-x11.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gdk/x11/gdkdisplay-x11.c b/gdk/x11/gdkdisplay-x11.c index ff74830fbc..20735ccf6f 100644 --- a/gdk/x11/gdkdisplay-x11.c +++ b/gdk/x11/gdkdisplay-x11.c @@ -919,7 +919,8 @@ gdk_x11_display_translate_event (GdkEventTranslator *translator, event->owner_change.type = GDK_OWNER_CHANGE; event->owner_change.window = window; - event->owner_change.owner = selection_notify->owner; + event->owner_change.owner = gdk_x11_window_foreign_new_for_display (display, + selection_notify->owner); event->owner_change.reason = selection_notify->subtype; event->owner_change.selection = gdk_x11_xatom_to_atom_for_display (display, |