aboutsummaryrefslogtreecommitdiff
path: root/include/sway
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2018-11-17 12:29:59 +0100
committeremersion <contact@emersion.fr>2018-11-19 17:38:37 +0100
commit311c7db7e300bc9e749a582a56805150180138e0 (patch)
treea695f7af6143e47c8b7bb8afe32e2e8f59c39958 /include/sway
parent67d24e8fc54b9e091533500de22f02302a4c79fc (diff)
Add xwayland command
Diffstat (limited to 'include/sway')
-rw-r--r--include/sway/commands.h3
-rw-r--r--include/sway/config.h1
-rw-r--r--include/sway/server.h2
3 files changed, 4 insertions, 2 deletions
diff --git a/include/sway/commands.h b/include/sway/commands.h
index 2fe8a631..32925369 100644
--- a/include/sway/commands.h
+++ b/include/sway/commands.h
@@ -176,8 +176,9 @@ sway_cmd cmd_title_format;
sway_cmd cmd_unmark;
sway_cmd cmd_urgent;
sway_cmd cmd_workspace;
-sway_cmd cmd_ws_auto_back_and_forth;
sway_cmd cmd_workspace_layout;
+sway_cmd cmd_ws_auto_back_and_forth;
+sway_cmd cmd_xwayland;
sway_cmd bar_cmd_activate_button;
sway_cmd bar_cmd_binding_mode_indicator;
diff --git a/include/sway/config.h b/include/sway/config.h
index 658b4a01..c44533ee 100644
--- a/include/sway/config.h
+++ b/include/sway/config.h
@@ -393,6 +393,7 @@ struct sway_config {
size_t urgent_timeout;
enum sway_fowa focus_on_window_activation;
enum sway_popup_during_fullscreen popup_during_fullscreen;
+ bool xwayland;
// Flags
enum focus_follows_mouse_mode focus_follows_mouse;
diff --git a/include/sway/server.h b/include/sway/server.h
index a3233d66..0f30653f 100644
--- a/include/sway/server.h
+++ b/include/sway/server.h
@@ -71,7 +71,7 @@ struct sway_server server;
bool server_privileged_prepare(struct sway_server *server);
bool server_init(struct sway_server *server);
void server_fini(struct sway_server *server);
-bool server_start_backend(struct sway_server *server);
+bool server_start(struct sway_server *server);
void server_run(struct sway_server *server);
void handle_new_output(struct wl_listener *listener, void *data);