]> git.sur5r.net Git - i3/i3/blob - include/key_press.h
Merge branch 'release-4.16.1'
[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 Michael Stapelberg and contributors (see also: LICENSE)
6  *
7  * key_press.c: key press handler
8  *
9  */
10 #pragma once
11
12 #include <config.h>
13
14 /**
15  * There was a key press. We compare this key code with our bindings table and pass
16  * the bound action to parse_command().
17  *
18  */
19 void handle_key_press(xcb_key_press_event_t *event);
20
21 /**
22  * Kills the commanderror i3-nagbar process, if any.
23  *
24  * Called when reloading/restarting, since the user probably fixed their wrong
25  * keybindings.
26  *
27  * If wait_for_it is set (restarting), this function will waitpid(), otherwise,
28  * ev is assumed to handle it (reloading).
29  *
30  */
31 void kill_commanderror_nagbar(bool wait_for_it);