wayland: Implement drop/destination side of selections
This implementation makes the destination side of selections work similarly to X11's, gdk_selection_convert() triggers data fetching, which is notified through GDK_SELECTION_NOTIFY events on arrival, the buffered data is then available through gdk_selection_property_get(). https://bugzilla.gnome.org/show_bug.cgi?id=697855
This commit is contained in:
@ -39,6 +39,8 @@
|
||||
|
||||
G_BEGIN_DECLS
|
||||
|
||||
typedef struct _GdkWaylandSelection GdkWaylandSelection;
|
||||
|
||||
struct _GdkWaylandDisplay
|
||||
{
|
||||
GdkDisplay parent_instance;
|
||||
@ -72,6 +74,8 @@ struct _GdkWaylandDisplay
|
||||
int compositor_version;
|
||||
|
||||
struct xkb_context *xkb_context;
|
||||
|
||||
GdkWaylandSelection *selection;
|
||||
};
|
||||
|
||||
struct _GdkWaylandDisplayClass
|
||||
|
||||
Reference in New Issue
Block a user