summaryrefslogtreecommitdiff
path: root/openbox/startupnotify.h
blob: 6cc9451cace87e728bfaa8f02f9e2fa1cfea1bf3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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