* key_press.c: key press handler
*
*/
-#ifndef I3_KEY_PRESS_H
-#define I3_KEY_PRESS_H
-
-extern pid_t command_error_nagbar_pid;
+#pragma once
/**
* There was a key press. We compare this key code with our bindings table and pass
/**
* Kills the commanderror i3-nagbar process, if any.
*
- * Called when reloading/restarting, since the user probably fixed his wrong
+ * Called when reloading/restarting, since the user probably fixed their wrong
* keybindings.
*
* If wait_for_it is set (restarting), this function will waitpid(), otherwise,
*
*/
void kill_commanderror_nagbar(bool wait_for_it);
-
-#endif