Modes must explicitly declare support for execution without a matching entry

This commit is contained in:
Scoopta
2020-01-23 20:26:33 -08:00
parent 153c3eac3e
commit 84262b19f4
3 changed files with 36 additions and 21 deletions

View File

@@ -126,3 +126,7 @@ const char** wofi_dmenu_get_arg_names(void) {
size_t wofi_dmenu_get_arg_count(void) {
return sizeof(arg_names) / sizeof(char*);
}
bool wofi_dmenu_no_entry(void) {
return true;
}

View File

@@ -168,3 +168,7 @@ const char** wofi_run_get_arg_names(void) {
size_t wofi_run_get_arg_count(void) {
return sizeof(arg_names) / sizeof(char*);
}
bool wofi_run_no_entry(void) {
return true;
}