]> git.sur5r.net Git - i3/i3/blob - include/key_press.h
Merge pull request #1539 from mh21/wsrename-1527
[i3/i3] / include / key_press.h
1 /*
2  * vim:ts=4:sw=4:expandtab
3  *
4  * i3 - an improved dynamic tiling window manager
5  * © 2009-2012 Michael Stapelberg and contributors (see also: LICENSE)
6  *
7  * key_press.c: key press handler
8  *
9  */
10 #pragma once
11
12 /**
13  * There was a key press. We compare this key code with our bindings table and pass
14  * the bound action to parse_command().
15  *
16  */
17 void handle_key_press(xcb_key_press_event_t *event);
18
19 /**
20  * Kills the commanderror i3-nagbar process, if any.
21  *
22  * Called when reloading/restarting, since the user probably fixed their wrong
23  * keybindings.
24  *
25  * If wait_for_it is set (restarting), this function will waitpid(), otherwise,
26  * ev is assumed to handle it (reloading).
27  *
28  */
29 void kill_commanderror_nagbar(bool wait_for_it);