mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-15 23:00:08 +00:00
GdkEvent: OWNER_CHANGE events have a selection as well
This commit is contained in:
parent
74ce20451f
commit
29dd0a940e
@ -3008,7 +3008,8 @@ gdk_event_get_selection (const GdkEvent *event,
|
||||
|
||||
if (event->type == GDK_SELECTION_CLEAR ||
|
||||
event->type == GDK_SELECTION_NOTIFY ||
|
||||
event->type == GDK_SELECTION_REQUEST)
|
||||
event->type == GDK_SELECTION_REQUEST ||
|
||||
event->type == GDK_OWNER_CHANGE)
|
||||
{
|
||||
*selection = event->selection.selection;
|
||||
return TRUE;
|
||||
|
Loading…
Reference in New Issue
Block a user