Reload focused window icon on target size change

Signed-off-by: Felix Weilbach <felix.weilbach@t-online.de>
This commit is contained in:
Felix Weilbach 2021-05-01 12:38:27 +02:00
parent dccb7d2153
commit ed66986c1c
2 changed files with 62 additions and 38 deletions

View file

@ -102,6 +102,7 @@ struct swaybar_window {
char *icon_name;
cairo_surface_t *icon;
bool icon_name_icon_sync;
int bar_icon_target_size;
};
bool bar_setup(struct swaybar *bar, const char *socket_path);