mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2025-11-11 13:29:49 -05:00
First attempt at selection support
This commit is contained in:
parent
4cca349349
commit
ae6c8a6d73
5 changed files with 242 additions and 6 deletions
|
|
@ -188,6 +188,21 @@ struct wl_drag {
|
|||
struct wl_listener drag_focus_listener;
|
||||
};
|
||||
|
||||
struct wl_selection_offer {
|
||||
struct wl_object object;
|
||||
};
|
||||
|
||||
struct wl_selection {
|
||||
struct wl_resource resource;
|
||||
struct wl_client *client;
|
||||
struct wl_input_device *input_device;
|
||||
struct wl_selection_offer selection_offer;
|
||||
struct wl_surface *selection_focus;
|
||||
struct wl_client *target;
|
||||
struct wl_array types;
|
||||
struct wl_listener selection_focus_listener;
|
||||
};
|
||||
|
||||
void
|
||||
wl_client_post_event(struct wl_client *client,
|
||||
struct wl_object *sender,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue