X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;ds=sidebyside;f=include%2Fkey_press.h;h=8f23854b0b34d6d9787c355bb8965befe625fbca;hb=db0add0f11995d4273c76c3c1ad3ab131cea6a99;hp=4d469babe8bb2869ffede445d8efc5163c625e8e;hpb=794783defbb7073f5ca4676e9b088308baac5540;p=i3%2Fi3 diff --git a/include/key_press.h b/include/key_press.h index 4d469bab..8f23854b 100644 --- a/include/key_press.h +++ b/include/key_press.h @@ -2,13 +2,14 @@ * vim:ts=4:sw=4:expandtab * * i3 - an improved dynamic tiling window manager - * © 2009-2012 Michael Stapelberg and contributors (see also: LICENSE) + * © 2009 Michael Stapelberg and contributors (see also: LICENSE) * * key_press.c: key press handler * */ -#ifndef _KEY_PRESS_H -#define _KEY_PRESS_H +#pragma once + +#include /** * There was a key press. We compare this key code with our bindings table and pass @@ -20,7 +21,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 +29,3 @@ void handle_key_press(xcb_key_press_event_t *event); * */ void kill_commanderror_nagbar(bool wait_for_it); - -#endif