summaryrefslogtreecommitdiff
path: root/openbox/startupnotify.h
diff options
context:
space:
mode:
authorMikael Magnusson <mikachu@comhem.se>2007-03-11 15:41:47 +0000
committerMikael Magnusson <mikachu@comhem.se>2007-03-11 15:41:47 +0000
commitc5d2a9bc98fb7d1ed85c69fc3007ab36b9fd96d5 (patch)
tree27531a3b9b26adda3e1853ca8b8f62d88a1b76b6 /openbox/startupnotify.h
parent923e0edfa80dbfe7e9fa90bee8f6bb2dfb2f9907 (diff)
allow setting startupnotify per execute action, default to disabled. use like this: <action name="execute"><execute>program</execute><startupnotify><enabled>true</enabled><name>something descriptive</name><icon>name of an icon in the icon theme to show</icon></startupnotify</action>
Diffstat (limited to 'openbox/startupnotify.h')
-rw-r--r--openbox/startupnotify.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/openbox/startupnotify.h b/openbox/startupnotify.h
index 533ff9c6..850f39a7 100644
--- a/openbox/startupnotify.h
+++ b/openbox/startupnotify.h
@@ -35,7 +35,8 @@ 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, Time time);
+gchar **sn_get_spawn_environment(char *program, char *name,
+ char *icon_name, Time time);
/* Tell startup notification we're not actually running the program we
told it we were