diff options
Diffstat (limited to 'sway/config/output.c')
-rw-r--r-- | sway/config/output.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sway/config/output.c b/sway/config/output.c index 50bf1155..42deec67 100644 --- a/sway/config/output.c +++ b/sway/config/output.c | |||
@@ -505,7 +505,7 @@ static bool _spawn_swaybg(char **command) { | |||
505 | sway_log_errno(SWAY_ERROR, "socketpair failed"); | 505 | sway_log_errno(SWAY_ERROR, "socketpair failed"); |
506 | return false; | 506 | return false; |
507 | } | 507 | } |
508 | if (!set_cloexec(sockets[0], true) || !set_cloexec(sockets[1], true)) { | 508 | if (!sway_set_cloexec(sockets[0], true) || !sway_set_cloexec(sockets[1], true)) { |
509 | return false; | 509 | return false; |
510 | } | 510 | } |
511 | 511 | ||
@@ -529,7 +529,7 @@ static bool _spawn_swaybg(char **command) { | |||
529 | sway_log_errno(SWAY_ERROR, "fork failed"); | 529 | sway_log_errno(SWAY_ERROR, "fork failed"); |
530 | _exit(EXIT_FAILURE); | 530 | _exit(EXIT_FAILURE); |
531 | } else if (pid == 0) { | 531 | } else if (pid == 0) { |
532 | if (!set_cloexec(sockets[1], false)) { | 532 | if (!sway_set_cloexec(sockets[1], false)) { |
533 | _exit(EXIT_FAILURE); | 533 | _exit(EXIT_FAILURE); |
534 | } | 534 | } |
535 | 535 | ||