summaryrefslogtreecommitdiff
path: root/openbox/startupnotify.h
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2007-03-28 06:00:19 +0000
committerDana Jansens <danakj@orodu.net>2007-03-28 06:00:19 +0000
commitf746a4975b1ab7559da3d9db51af14e1c084bc13 (patch)
tree36823c0b8cde588e5a232ab05b948814ae6e3bb5 /openbox/startupnotify.h
parent3ad050f7d8050a46ad03f8233f1c61ad40be9551 (diff)
use setenv to set up the DESKTOP_STARTUP_ID when launching programs.
before, if DESKTOP_STARTUP_ID was set in openbox, it would mess up adding it to the child's environment because it would appear twice. so now it will only appear once for the child always.
Diffstat (limited to 'openbox/startupnotify.h')
-rw-r--r--openbox/startupnotify.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/openbox/startupnotify.h b/openbox/startupnotify.h
index 87b17f90..746b786e 100644
--- a/openbox/startupnotify.h
+++ b/openbox/startupnotify.h
@@ -35,9 +35,9 @@ Time sn_app_started(const gchar *id, const gchar *wmclass);
gboolean sn_get_desktop(gchar *id, guint *desktop);
/* Get the environment to run the program in, with startup notification */
-gchar **sn_get_spawn_environment(char *program, char *name,
- char *icon_name, gint desktop,
- Time time);
+void sn_setup_spawn_environment(gchar *program, gchar *name,
+ gchar *icon_name, gint desktop,
+ Time time);
/* Tell startup notification we're not actually running the program we
told it we were