]> git.sur5r.net Git - i3/i3/blobdiff - include/key_press.h
Merge pull request #1549 from shdown/y-offset-fix
[i3/i3] / include / key_press.h
index b231b8f5b4d34ba027ff1dc80c0a922c28720fe8..86cc6836f1300402ad29a26c3cddcc62968c4ff2 100644 (file)
@@ -7,10 +7,7 @@
  * 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
@@ -22,7 +19,7 @@ void handle_key_press(xcb_key_press_event_t *event);
 /**
  * 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,
@@ -30,5 +27,3 @@ void handle_key_press(xcb_key_press_event_t *event);
  *
  */
 void kill_commanderror_nagbar(bool wait_for_it);
-
-#endif