X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=include%2Fkey_press.h;h=bbfec83b4808d725451820e492d1896807963324;hb=884214f14fdbd0a4a368d2a36d5e50324fa1d52a;hp=b231b8f5b4d34ba027ff1dc80c0a922c28720fe8;hpb=fcdfab4d280cf469f339ce7168082658b9b76c8c;p=i3%2Fi3 diff --git a/include/key_press.h b/include/key_press.h index b231b8f5..bbfec83b 100644 --- a/include/key_press.h +++ b/include/key_press.h @@ -2,15 +2,12 @@ * 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 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