X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=include%2Fstartup.h;h=feece575c36f8a9d8361fdb08ef81b5b1a01ce43;hb=07dfb8450bfaf90d86b220b671997d322d325a85;hp=7d5d2a39644abf350b8c3191b48a9490654bfe8c;hpb=66a1fa7d4643981bcc8f78b03e170e35bf00bfc7;p=i3%2Fi3 diff --git a/include/startup.h b/include/startup.h index 7d5d2a39..feece575 100644 --- a/include/startup.h +++ b/include/startup.h @@ -12,6 +12,8 @@ */ #pragma once +#include + #define SN_API_NOT_YET_FROZEN 1 #include @@ -19,7 +21,7 @@ * Starts the given application by passing it through a shell. We use double * fork to avoid zombie processes. As the started application’s parent exits * (immediately), the application is reparented to init (process-id 1), which - * correctly handles childs, so we don’t have to do it :-). + * correctly handles children, so we don’t have to do it :-). * * The shell used to start applications is the system's bourne shell (i.e., * /bin/sh). @@ -48,7 +50,7 @@ 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); +void startup_sequence_rename_workspace(const char *old_name, const char *new_name); /** * Gets the stored startup sequence for the _NET_STARTUP_ID of a given window.