diff options
| author | Dana Jansens <danakj@orodu.net> | 2003-09-03 20:35:22 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2003-09-03 20:35:22 +0000 |
| commit | 2cd1644e1040684d5f646541f65a36b01b011db2 (patch) | |
| tree | d2d90994ea8b566d7793e4d9dd5ec8c8c08525dd /openbox/startupnotify.h | |
| parent | ed9dc5dc788e3d0e79fa5010265ba9ce57ea6859 (diff) | |
add startup notification in its own .c/.h files
Diffstat (limited to 'openbox/startupnotify.h')
| -rw-r--r-- | openbox/startupnotify.h | 18 |
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 |
