mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2024-11-25 16:42:26 +00:00
Make lazy xwayland start default in rootston
This commit is contained in:
parent
119a6cf35c
commit
ef1a24430a
@ -240,9 +240,9 @@ static int config_ini_handler(void *user, const char *section, const char *name,
|
|||||||
if (strcmp(name, "xwayland") == 0) {
|
if (strcmp(name, "xwayland") == 0) {
|
||||||
if (strcasecmp(value, "true") == 0) {
|
if (strcasecmp(value, "true") == 0) {
|
||||||
config->xwayland = true;
|
config->xwayland = true;
|
||||||
} else if (strcasecmp(value, "lazy") == 0) {
|
} else if (strcasecmp(value, "immediate") == 0) {
|
||||||
config->xwayland = true;
|
config->xwayland = true;
|
||||||
config->xwayland_lazy = true;
|
config->xwayland_lazy = false;
|
||||||
} else if (strcasecmp(value, "false") == 0) {
|
} else if (strcasecmp(value, "false") == 0) {
|
||||||
config->xwayland = false;
|
config->xwayland = false;
|
||||||
} else {
|
} else {
|
||||||
@ -392,7 +392,7 @@ struct roots_config *roots_config_create_from_args(int argc, char *argv[]) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
config->xwayland = true;
|
config->xwayland = true;
|
||||||
config->xwayland_lazy = false;
|
config->xwayland_lazy = true;
|
||||||
wl_list_init(&config->outputs);
|
wl_list_init(&config->outputs);
|
||||||
wl_list_init(&config->devices);
|
wl_list_init(&config->devices);
|
||||||
wl_list_init(&config->keyboards);
|
wl_list_init(&config->keyboards);
|
||||||
|
Loading…
Reference in New Issue
Block a user