]> Dogcows Code - chaz/openbox/blobdiff - openbox/startupnotify.h
add startup notification in its own .c/.h files
[chaz/openbox] / openbox / startupnotify.h
diff --git a/openbox/startupnotify.h b/openbox/startupnotify.h
new file mode 100644 (file)
index 0000000..6cc9451
--- /dev/null
@@ -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
This page took 0.026713 seconds and 4 git commands to generate.