summaryrefslogtreecommitdiff
path: root/openbox/startupnotify.h
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2008-01-21 22:27:03 -0500
committerDana Jansens <danakj@orodu.net>2008-01-21 22:27:03 -0500
commit1b33ab6c0d9117a84325e1bc01489bde566cda64 (patch)
tree045cf54efeb80a6a0a16b31e23836aae4593609e /openbox/startupnotify.h
parentbeb2895f5a39dd236f917c691160450355dba771 (diff)
use the <wmclass> for startup notfication in the execute action. when present don't use the check against the binary.
Diffstat (limited to 'openbox/startupnotify.h')
-rw-r--r--openbox/startupnotify.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/openbox/startupnotify.h b/openbox/startupnotify.h
index d6f29724..758beee6 100644
--- a/openbox/startupnotify.h
+++ b/openbox/startupnotify.h
@@ -38,8 +38,9 @@ Time sn_app_started(const gchar *id, const gchar *wmclass, const gchar *name);
gboolean sn_get_desktop(gchar *id, guint *desktop);
/* Get the environment to run the program in, with startup notification */
-void sn_setup_spawn_environment(gchar *program, gchar *name,
- gchar *icon_name, gint desktop);
+void sn_setup_spawn_environment(const gchar *program, const gchar *name,
+ const gchar *icon_name, const gchar *wmclass,
+ gint desktop);
/* Tell startup notification we're not actually running the program we
told it we were