xwayland: document SIGUSR1 handler

This commit is contained in:
emersion 2018-08-02 23:29:34 +01:00
parent 5642c5cc8f
commit 9dd4388ed9
1 changed files with 8 additions and 0 deletions

View File

@ -184,6 +184,14 @@ struct wlr_xwayland_resize_event {
uint32_t edges; uint32_t edges;
}; };
/** Create an Xwayland server.
*
* The server supports a lazy mode in which Xwayland is only started when a
* client tries to connect.
*
* Note: wlr_xwayland will setup a global SIGUSR1 handler on the compositor
* process.
*/
struct wlr_xwayland *wlr_xwayland_create(struct wl_display *wl_display, struct wlr_xwayland *wlr_xwayland_create(struct wl_display *wl_display,
struct wlr_compositor *compositor, bool lazy); struct wlr_compositor *compositor, bool lazy);