summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/simpleswitcher.h9
1 files changed, 2 insertions, 7 deletions
diff --git a/include/simpleswitcher.h b/include/simpleswitcher.h
index dae7f894..95c9f9f3 100644
--- a/include/simpleswitcher.h
+++ b/include/simpleswitcher.h
@@ -15,15 +15,10 @@ typedef enum {
} SwitcherMode;
-// window lists
-typedef struct {
- Window *array;
- void **data;
- int len;
-} winlist;
+typedef int (*menu_match_cb)(char **tokens, const char *input, int index, void *data);
int menu( char **lines, char **input, char *prompt,
- int selected, Time *time, int *shift, winlist *ids );
+ int selected, Time *time, int *shift, menu_match_cb mmc, void *mmc_data);
/**