aboutsummaryrefslogtreecommitdiff
path: root/systray/menu.h
diff options
context:
space:
mode:
authorJoshua Yun <joshua@joshuayun.com>2025-03-12 01:28:59 -0500
committerJoshua Yun <joshua@joshuayun.com>2025-03-12 01:28:59 -0500
commit3dc4dcc4ca0dee958a56f43e8a635a6d961e7ccc (patch)
treea8c5c08ada9f149d5cd0839b0dfd83d4630aa4eb /systray/menu.h
parentdf6d37936bac129d1fd7098cdd37f0cf44f1d4f5 (diff)
downloaddwl-3dc4dcc4ca0dee958a56f43e8a635a6d961e7ccc.tar.gz
Systray patch
Diffstat (limited to 'systray/menu.h')
-rw-r--r--systray/menu.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/systray/menu.h b/systray/menu.h
new file mode 100644
index 0000000..7f48ada
--- /dev/null
+++ b/systray/menu.h
@@ -0,0 +1,11 @@
+#ifndef MENU_H
+#define MENU_H
+
+#include <dbus/dbus.h>
+#include <wayland-server-core.h>
+
+/* The menu is built on demand and not kept around */
+void menu_show (DBusConnection *conn, struct wl_event_loop *loop,
+ const char *busname, const char *busobj, const char **menucmd);
+
+#endif /* MENU_H */