mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-02 09:01:38 -05:00
seat: add selection event docs
This commit is contained in:
parent
25d0d1be3a
commit
ffcf25cc25
1 changed files with 11 additions and 4 deletions
|
|
@ -251,11 +251,18 @@ struct wlr_seat {
|
|||
// wlr_seat_pointer_request_set_cursor_event
|
||||
struct wl_signal request_set_cursor;
|
||||
|
||||
// wlr_seat_request_set_selection_event
|
||||
struct wl_signal request_set_selection;
|
||||
// Called when an application _wants_ to set the selection (user copies some data).
|
||||
// Compositors should listen to this event and call wlr_seat_set_selection
|
||||
// if they want to accept the client's request.
|
||||
struct wl_signal request_set_selection; // wlr_seat_request_set_selection_event
|
||||
// Called after the data source is set for the selection.
|
||||
struct wl_signal set_selection;
|
||||
// wlr_seat_request_set_primary_selection_event
|
||||
struct wl_signal request_set_primary_selection;
|
||||
|
||||
// Called when an application _wants_ to set the primary selection (user selects some data).
|
||||
// Compositors should listen to this event and call wlr_seat_set_primary_selection
|
||||
// if they want to accept the client's request.
|
||||
struct wl_signal request_set_primary_selection; // wlr_seat_request_set_primary_selection_event
|
||||
// Called after the primary selection source object is set.
|
||||
struct wl_signal set_primary_selection;
|
||||
|
||||
// wlr_seat_request_start_drag_event
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue