aboutsummaryrefslogtreecommitdiff
path: root/menu.h
diff options
context:
space:
mode:
authoradnano <me@adnano.co>2024-05-02 21:39:54 -0400
committeradnano <me@adnano.co>2024-05-02 21:39:54 -0400
commit41e8599392a543a537f15447e20fd7bc8d8f2297 (patch)
treee14de0c571a1653968cc383d8a9b1c3cd7726c06 /menu.h
parent1f221a73cf290ff509ef6c066ff692bb48f8625e (diff)
downloadwmenu-41e8599392a543a537f15447e20fd7bc8d8f2297.tar.gz
Add wmenu-run executable
Diffstat (limited to 'menu.h')
-rw-r--r--menu.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/menu.h b/menu.h
index bfbc94a..039cac7 100644
--- a/menu.h
+++ b/menu.h
@@ -68,6 +68,7 @@ struct menu {
struct item *sel; // selected item
struct page *pages; // list of pages
+ void (*callback)(struct menu *menu);
bool exit;
bool failure;
};