diff options
Diffstat (limited to 'sway/commands/reload.c')
-rw-r--r-- | sway/commands/reload.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/sway/commands/reload.c b/sway/commands/reload.c index 3c994d54..82967ca7 100644 --- a/sway/commands/reload.c +++ b/sway/commands/reload.c | |||
@@ -9,9 +9,8 @@ | |||
9 | #include "list.h" | 9 | #include "list.h" |
10 | #include "log.h" | 10 | #include "log.h" |
11 | 11 | ||
12 | static void rebuild_textures_iterator(struct sway_container *con, void *data) { | 12 | static void title_bar_update_iterator(struct sway_container *con, void *data) { |
13 | container_update_marks_textures(con); | 13 | container_update_title_bar(con); |
14 | container_update_title_textures(con); | ||
15 | } | 14 | } |
16 | 15 | ||
17 | static void do_reload(void *data) { | 16 | static void do_reload(void *data) { |
@@ -48,8 +47,7 @@ static void do_reload(void *data) { | |||
48 | } | 47 | } |
49 | list_free_items_and_destroy(bar_ids); | 48 | list_free_items_and_destroy(bar_ids); |
50 | 49 | ||
51 | config_update_font_height(true); | 50 | root_for_each_container(title_bar_update_iterator, NULL); |
52 | root_for_each_container(rebuild_textures_iterator, NULL); | ||
53 | 51 | ||
54 | arrange_root(); | 52 | arrange_root(); |
55 | } | 53 | } |