From 2cd1644e1040684d5f646541f65a36b01b011db2 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Wed, 3 Sep 2003 20:35:22 +0000 Subject: add startup notification in its own .c/.h files --- openbox/startupnotify.h | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 openbox/startupnotify.h (limited to 'openbox/startupnotify.h') 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 + +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 -- cgit v1.2.3