mirror of
https://github.com/swaywm/sway.git
synced 2026-04-21 06:46:22 -04:00
Remove code related to the security features
- Remove struct definitions - Remove struct members - Remove initializations and frees
This commit is contained in:
parent
06fc42359b
commit
1d3681f521
7 changed files with 0 additions and 129 deletions
|
|
@ -154,9 +154,6 @@ void free_config(struct sway_config *config) {
|
|||
list_free(config->no_focus);
|
||||
list_free(config->active_bar_modifiers);
|
||||
list_free_items_and_destroy(config->config_chain);
|
||||
list_free(config->command_policies);
|
||||
list_free(config->feature_policies);
|
||||
list_free(config->ipc_policies);
|
||||
free(config->floating_scroll_up_cmd);
|
||||
free(config->floating_scroll_down_cmd);
|
||||
free(config->floating_scroll_left_cmd);
|
||||
|
|
@ -327,11 +324,6 @@ static void config_defaults(struct sway_config *config) {
|
|||
|
||||
color_to_rgba(config->border_colors.background, 0xFFFFFFFF);
|
||||
|
||||
// Security
|
||||
if (!(config->command_policies = create_list())) goto cleanup;
|
||||
if (!(config->feature_policies = create_list())) goto cleanup;
|
||||
if (!(config->ipc_policies = create_list())) goto cleanup;
|
||||
|
||||
// The keysym to keycode translation
|
||||
struct xkb_rule_names rules = {0};
|
||||
config->keysym_translation_state =
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue