aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2018-08-02 23:29:34 +0100
committeremersion <contact@emersion.fr>2018-08-02 23:29:34 +0100
commit9dd4388ed9ffd5fdbd2a81f8f8bccd3c3f976d7a (patch)
treec41c0aacc60fd6e5c46642e9b9ddc2cfe33e12c4 /include
parent5642c5cc8fd71103cb4805b1b9f1526311d544f8 (diff)
xwayland: document SIGUSR1 handler
Diffstat (limited to 'include')
-rw-r--r--include/wlr/xwayland.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/wlr/xwayland.h b/include/wlr/xwayland.h
index 39644dc1..2eda768a 100644
--- a/include/wlr/xwayland.h
+++ b/include/wlr/xwayland.h
@@ -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);