X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=include%2Fstartup.h;h=7d5d2a39644abf350b8c3191b48a9490654bfe8c;hb=d1262f2b6ae713266b5a1e8cab368333bb332033;hp=9cbdf17bd20950bc6de744b43d7300b3df3a9bfd;hpb=5cbe2d63c0bdd4edd2736f32714443d57f1eacb6;p=i3%2Fi3 diff --git a/include/startup.h b/include/startup.h index 9cbdf17b..7d5d2a39 100644 --- a/include/startup.h +++ b/include/startup.h @@ -2,7 +2,7 @@ * vim:ts=4:sw=4:expandtab * * i3 - an improved dynamic tiling window manager - * © 2009-2011 Michael Stapelberg and contributors (see also: LICENSE) + * © 2009 Michael Stapelberg and contributors (see also: LICENSE) * * startup.c: Startup notification code. Ensures a startup notification context * is setup when launching applications. We store the current @@ -21,8 +21,8 @@ * (immediately), the application is reparented to init (process-id 1), which * correctly handles childs, so we don’t have to do it :-). * - * The shell is determined by looking for the SHELL environment variable. If - * it does not exist, /bin/sh is used. + * The shell used to start applications is the system's bourne shell (i.e., + * /bin/sh). * * The no_startup_id flag determines whether a startup notification context * (and ID) should be created, which is the default and encouraged behavior. @@ -44,6 +44,12 @@ void startup_sequence_delete(struct Startup_Sequence *sequence); */ void startup_monitor_event(SnMonitorEvent *event, void *userdata); +/** + * Renames workspaces that are mentioned in the startup sequences. + * + */ +void startup_sequence_rename_workspace(char *old_name, char *new_name); + /** * Gets the stored startup sequence for the _NET_STARTUP_ID of a given window. *