]> git.sur5r.net Git - i3/i3/blobdiff - include/startup.h
Fix typo: childs -> children
[i3/i3] / include / startup.h
index 7d5d2a39644abf350b8c3191b48a9490654bfe8c..feece575c36f8a9d8361fdb08ef81b5b1a01ce43 100644 (file)
@@ -12,6 +12,8 @@
  */
 #pragma once
 
+#include <config.h>
+
 #define SN_API_NOT_YET_FROZEN 1
 #include <libsn/sn-monitor.h>
 
@@ -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.