i3
Functions | Variables
key_press.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void handle_key_press (xcb_key_press_event_t *event)
 There was a key press. More...
 
void kill_commanderror_nagbar (bool wait_for_it)
 Kills the commanderror i3-nagbar process, if any. More...
 

Variables

pid_t command_error_nagbar_pid
 

Function Documentation

void handle_key_press ( xcb_key_press_event_t *  event)
void kill_commanderror_nagbar ( bool  wait_for_it)

Kills the commanderror i3-nagbar process, if any.

Called when reloading/restarting, since the user probably fixed his wrong keybindings.

If wait_for_it is set (restarting), this function will waitpid(), otherwise, ev is assumed to handle it (reloading).

Variable Documentation

pid_t command_error_nagbar_pid

Definition at line 22 of file key_press.c.

Referenced by cmd_reload(), handle_key_press(), and i3_restart().