Skip to content

Commit

Permalink
config: Remove unused background color
Browse files Browse the repository at this point in the history
Remove an unused struct member background in preparation for adding the
structure to every container in an effort to mimise memory consumption.

Signed-off-by: Michael Weiser <[email protected]>
  • Loading branch information
michaelweiser committed Jan 21, 2024
1 parent 2c2625a commit 3ab64f7
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion include/sway/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -565,7 +565,6 @@ struct sway_config {
struct border_colors unfocused;
struct border_colors urgent;
struct border_colors placeholder;
float background[4];
} border_colors;

bool has_focused_tab_title;
Expand Down
2 changes: 0 additions & 2 deletions sway/config.c
Original file line number Diff line number Diff line change
Expand Up @@ -332,8 +332,6 @@ static void config_defaults(struct sway_config *config) {
color_to_rgba(config->border_colors.placeholder.indicator, 0x000000FF);
color_to_rgba(config->border_colors.placeholder.child_border, 0x0C0C0CFF);

color_to_rgba(config->border_colors.background, 0xFFFFFFFF);

// The keysym to keycode translation
struct xkb_rule_names rules = {0};
config->keysym_translation_state =
Expand Down

0 comments on commit 3ab64f7

Please sign in to comment.