Skip to content

Commit

Permalink
#2205 properly escape rule app and title properties
Browse files Browse the repository at this point in the history
  • Loading branch information
koekeishiya committed Apr 3, 2024
1 parent e7a5625 commit 4132a4d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/rule.c
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ void rule_serialize(FILE *rsp, struct rule *rule, int index)
escaped_title ? escaped_title : title ? title : "",
rule->role ? rule->role : "",
rule->subrole ? rule->subrole : "",
display_manager_display_id_arrangement(rule->effects.did),
space_manager_mission_control_index(rule->effects.sid),
rule->effects.did ? display_manager_display_id_arrangement(rule->effects.did) : 0,
rule->effects.sid ? space_manager_mission_control_index(rule->effects.sid) : 0,
json_bool(rule_effects_check_flag(&rule->effects, RULE_FOLLOW_SPACE)),
rule->effects.opacity,
json_optional_bool(rule->effects.manage),
Expand Down

0 comments on commit 4132a4d

Please sign in to comment.