Add xwayland command

This commit is contained in:
emersion 2018-11-17 12:29:59 +01:00
parent 67d24e8fc5
commit 311c7db7e3
No known key found for this signature in database
GPG key ID: 0FDE7BE0E88F5E48
10 changed files with 72 additions and 39 deletions

View file

@ -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;

View file

@ -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;

View file

@ -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);