diff options
| author | Dana Jansens <danakj@orodu.net> | 2008-01-21 22:27:03 -0500 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2008-01-21 22:27:03 -0500 |
| commit | 1b33ab6c0d9117a84325e1bc01489bde566cda64 (patch) | |
| tree | 045cf54efeb80a6a0a16b31e23836aae4593609e /openbox/startupnotify.h | |
| parent | beb2895f5a39dd236f917c691160450355dba771 (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.h | 5 |
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 |
