i3
Macros | Functions
key_press.c File Reference
#include "all.h"
Include dependency graph for key_press.c:

Go to the source code of this file.

Macros

#define I3__FILE__   "key_press.c"
 

Functions

void handle_key_press (xcb_key_press_event_t *event)
 There was a key press. More...
 

Macro Definition Documentation

#define I3__FILE__   "key_press.c"

Definition at line 2 of file key_press.c.

Function Documentation

void handle_key_press ( xcb_key_press_event_t *  event)

There was a key press.

We compare this key code with our bindings table and pass the bound action to parse_command().

Definition at line 20 of file key_press.c.

References command_result_free(), DLOG, get_binding_from_xcb_event(), last_timestamp, CommandResult::needs_tree_render, run_binding(), and tree_render().

Referenced by handle_event().

Here is the call graph for this function: