aboutsummaryrefslogtreecommitdiff
path: root/dbus.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 /dbus.h
parentdf6d37936bac129d1fd7098cdd37f0cf44f1d4f5 (diff)
downloaddwl-3dc4dcc4ca0dee958a56f43e8a635a6d961e7ccc.tar.gz
Systray patch
Diffstat (limited to 'dbus.h')
-rw-r--r--dbus.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/dbus.h b/dbus.h
new file mode 100644
index 0000000..b374b98
--- /dev/null
+++ b/dbus.h
@@ -0,0 +1,10 @@
+#ifndef DWLDBUS_H
+#define DWLDBUS_H
+
+#include <dbus/dbus.h>
+#include <wayland-server-core.h>
+
+struct wl_event_source* startbus (DBusConnection *conn, struct wl_event_loop *loop);
+void stopbus (DBusConnection *conn, struct wl_event_source *bus_source);
+
+#endif /* DWLDBUS_H */