mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2024-11-10 14:53:47 +01:00
Default sandbox to none
This commit is contained in:
parent
1e69a18129
commit
1065fc2846
@ -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:
|
||||
|
||||
|
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user