Merge pull request #1171 from emersion/xwayland-document-sigusr1

xwayland: document SIGUSR1 handler
This commit is contained in:
Drew DeVault 2018-08-02 18:40:53 -04:00 committed by GitHub
commit 0780d7856a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 0 deletions

View File

@ -184,6 +184,14 @@ struct wlr_xwayland_resize_event {
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_compositor *compositor, bool lazy);