mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-01 22:58:38 -04:00
data-device: unexport wlr_seat_client_send_selection
This commit is contained in:
parent
1a2727cc38
commit
0040f7089f
4 changed files with 16 additions and 16 deletions
|
|
@ -33,5 +33,13 @@ struct wlr_seat_client *seat_client_from_data_device_resource(
|
|||
bool seat_client_start_drag(struct wlr_seat_client *client,
|
||||
struct wlr_data_source *source, struct wlr_surface *icon_surface,
|
||||
struct wlr_surface *origin, uint32_t serial);
|
||||
/**
|
||||
* Creates a new wl_data_offer if there is a wl_data_source currently set as
|
||||
* the seat selection and sends it to the seat client, followed by the
|
||||
* wl_data_device.selection() event. If there is no current selection, the
|
||||
* wl_data_device.selection() event will carry a NULL wl_data_offer. If the
|
||||
* client does not have a wl_data_device for the seat nothing will be done.
|
||||
*/
|
||||
void seat_client_send_selection(struct wlr_seat_client *seat_client);
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue