summaryrefslogtreecommitdiff
path: root/openbox/startupnotify.h
diff options
context:
space:
mode:
Diffstat (limited to 'openbox/startupnotify.h')
-rw-r--r--openbox/startupnotify.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/openbox/startupnotify.h b/openbox/startupnotify.h
new file mode 100644
index 00000000..6cc9451c
--- /dev/null
+++ b/openbox/startupnotify.h
@@ -0,0 +1,18 @@
+#ifndef ob__startupnotify_h
+#define ob__startupnotify_h
+
+#include <glib.h>
+
+void sn_startup(gboolean reconfig);
+void sn_shutdown(gboolean reconfig);
+
+gboolean sn_app_starting();
+
+/*! Notify that an app has started */
+void sn_app_started(gchar *wmclass);
+
+/*! Get the desktop requested via the startup-notiication protocol if one
+ was requested */
+gboolean sn_get_desktop(gchar *id, guint *desktop);
+
+#endif