diff --git a/doc/man/zathurarc.5.rst b/doc/man/zathurarc.5.rst index 35fa499..92a0c6f 100644 --- a/doc/man/zathurarc.5.rst +++ b/doc/man/zathurarc.5.rst @@ -825,7 +825,7 @@ zathura is a read only sandbox that is intended for viewing documents only. * Value type: String - * Default value: normal + * Default value: none Some features are disabled when using strict sandbox mode: diff --git a/zathura/config.c b/zathura/config.c index 419032b..8e645ae 100644 --- a/zathura/config.c +++ b/zathura/config.c @@ -363,8 +363,8 @@ void config_load_default(zathura_t* zathura) { girara_setting_add(gsession, "selection-clipboard", "primary", STRING, false, _("The clipboard into which mouse-selected data will be written"), NULL, NULL); bool_value = true; girara_setting_add(gsession, "selection-notification", &bool_value, BOOLEAN, false, _("Enable notification after selecting text"), NULL, NULL); - /* default to no sandbox when running in WSL */ - const char* string_value = running_under_wsl() ? "none" : "normal"; + /* default to no sandbox */ + const char* string_value = "none"; girara_setting_add(gsession, "sandbox", string_value, STRING, true, _("Sandbox level"), cb_sandbox_changed, NULL); bool_value = false; girara_setting_add(gsession, "show-signature-information", &bool_value, BOOLEAN, false,