diff options
Diffstat (limited to 'sway/config')
-rw-r--r-- | sway/config/bar.c | 3 | ||||
-rw-r--r-- | sway/config/output.c | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/sway/config/bar.c b/sway/config/bar.c index 767534a6..e09add44 100644 --- a/sway/config/bar.c +++ b/sway/config/bar.c | |||
@@ -91,7 +91,7 @@ struct bar_config *default_bar_config(void) { | |||
91 | } | 91 | } |
92 | bar->outputs = NULL; | 92 | bar->outputs = NULL; |
93 | bar->position = strdup("bottom"); | 93 | bar->position = strdup("bottom"); |
94 | bar->pango_markup = false; | 94 | bar->pango_markup = PANGO_MARKUP_DEFAULT; |
95 | bar->swaybar_command = NULL; | 95 | bar->swaybar_command = NULL; |
96 | bar->font = NULL; | 96 | bar->font = NULL; |
97 | bar->height = 0; | 97 | bar->height = 0; |
@@ -217,6 +217,7 @@ static void invoke_swaybar(struct bar_config *bar) { | |||
217 | sigset_t set; | 217 | sigset_t set; |
218 | sigemptyset(&set); | 218 | sigemptyset(&set); |
219 | sigprocmask(SIG_SETMASK, &set, NULL); | 219 | sigprocmask(SIG_SETMASK, &set, NULL); |
220 | signal(SIGPIPE, SIG_DFL); | ||
220 | 221 | ||
221 | pid = fork(); | 222 | pid = fork(); |
222 | if (pid < 0) { | 223 | if (pid < 0) { |
diff --git a/sway/config/output.c b/sway/config/output.c index c9ec6745..7d0ed395 100644 --- a/sway/config/output.c +++ b/sway/config/output.c | |||
@@ -483,6 +483,8 @@ bool apply_output_config(struct output_config *oc, struct sway_output *output) { | |||
483 | // this output came online, and some config items (like map_to_output) are | 483 | // this output came online, and some config items (like map_to_output) are |
484 | // dependent on an output being present. | 484 | // dependent on an output being present. |
485 | input_manager_configure_all_inputs(); | 485 | input_manager_configure_all_inputs(); |
486 | // Reconfigure the cursor images, since the scale may have changed. | ||
487 | input_manager_configure_xcursor(); | ||
486 | return true; | 488 | return true; |
487 | } | 489 | } |
488 | 490 | ||