Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Changes: https://hg.sr.ht/~scoopta/wofi/log?rev=v1.4 Reported by: Repology
- Loading branch information
Showing
3 changed files
with
30 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
TIMESTAMP = 1665110113 | ||
SHA256 (wofi-v1.3.tar.gz) = 7644e4e995bc027b7f3f411ceda82b3e2a72a4a424f6193663c27bbf00f23067 | ||
SIZE (wofi-v1.3.tar.gz) = 77317 | ||
TIMESTAMP = 1707089181 | ||
SHA256 (wofi-v1.4.tar.gz) = 0c1190164ed80fbaae747d74a2a3c980e9f92d12f594c961596a7025822112d6 | ||
SIZE (wofi-v1.4.tar.gz) = 79100 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
https://todo.sr.ht/~scoopta/wofi/211 | ||
|
||
--- src/wofi.c.orig 2024-02-04 23:26:21 UTC | ||
+++ src/wofi.c | ||
@@ -1299,13 +1299,10 @@ static void do_copy(void) { | ||
} | ||
} | ||
|
||
-static void on_exit_set_custom_key_return_code(int status, void* data) { | ||
- _UNUSED(data); | ||
- if (status == EXIT_SUCCESS) { | ||
+static void atexit_set_custom_key_return_code(void) { | ||
fflush(stdout); | ||
fflush(stderr); | ||
_exit(custom_key_return_code); | ||
- } | ||
} | ||
|
||
static void do_custom_key(int custom_key_num) { | ||
@@ -2064,5 +2061,5 @@ void wofi_init(struct map* _config) { | ||
gtk_window_set_title(GTK_WINDOW(window), prompt); | ||
gtk_widget_show_all(window); | ||
|
||
- on_exit(on_exit_set_custom_key_return_code, NULL); | ||
+ atexit(atexit_set_custom_key_return_code); | ||
} |