all repos — openbox @ 5a24f4c1c6e46df5da4a52684bd75445f6450aed

openbox fork - make it a bit more like ryudo

openbox/startupnotify.h (raw)

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