X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=include%2Fkey_press.h;h=86cc6836f1300402ad29a26c3cddcc62968c4ff2;hb=550c0ec31867f780b4bbd1a14f1496e7919a2766;hp=417843a10fbea0c1a5e7c202539d7811e53f36e3;hpb=2bf7793d4d241efca25c452b5c8a5897b2a29da3;p=i3%2Fi3 diff --git a/include/key_press.h b/include/key_press.h index 417843a1..86cc6836 100644 --- a/include/key_press.h +++ b/include/key_press.h @@ -7,8 +7,7 @@ * key_press.c: key press handler * */ -#ifndef I3_KEY_PRESS_H -#define I3_KEY_PRESS_H +#pragma once /** * There was a key press. We compare this key code with our bindings table and pass @@ -20,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, @@ -28,5 +27,3 @@ void handle_key_press(xcb_key_press_event_t *event); * */ void kill_commanderror_nagbar(bool wait_for_it); - -#endif