2 * vim:ts=4:sw=4:expandtab
4 * i3 - an improved dynamic tiling window manager
5 * © 2009-2012 Michael Stapelberg and contributors (see also: LICENSE)
7 * key_press.c: key press handler
12 extern pid_t command_error_nagbar_pid;
15 * There was a key press. We compare this key code with our bindings table and pass
16 * the bound action to parse_command().
19 void handle_key_press(xcb_key_press_event_t *event);
22 * Kills the commanderror i3-nagbar process, if any.
24 * Called when reloading/restarting, since the user probably fixed his wrong
27 * If wait_for_it is set (restarting), this function will waitpid(), otherwise,
28 * ev is assumed to handle it (reloading).
31 void kill_commanderror_nagbar(bool wait_for_it);