X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=openbox%2Fstartupnotify.h;fp=openbox%2Fstartupnotify.h;h=6cc9451cace87e728bfaa8f02f9e2fa1cfea1bf3;hb=2cd1644e1040684d5f646541f65a36b01b011db2;hp=0000000000000000000000000000000000000000;hpb=ed9dc5dc788e3d0e79fa5010265ba9ce57ea6859;p=chaz%2Fopenbox 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