diff options
Diffstat (limited to 'swaynag/swaynag.c')
-rw-r--r-- | swaynag/swaynag.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/swaynag/swaynag.c b/swaynag/swaynag.c index 4e692b14..6c326ca8 100644 --- a/swaynag/swaynag.c +++ b/swaynag/swaynag.c | |||
@@ -76,6 +76,11 @@ static void swaynag_button_execute(struct swaynag *swaynag, | |||
76 | } | 76 | } |
77 | _exit(EXIT_SUCCESS); | 77 | _exit(EXIT_SUCCESS); |
78 | } | 78 | } |
79 | |||
80 | if (button->dismiss) { | ||
81 | swaynag->run_display = false; | ||
82 | } | ||
83 | |||
79 | if (waitpid(pid, NULL, 0) < 0) { | 84 | if (waitpid(pid, NULL, 0) < 0) { |
80 | sway_log_errno(SWAY_DEBUG, "waitpid failed"); | 85 | sway_log_errno(SWAY_DEBUG, "waitpid failed"); |
81 | } | 86 | } |