i3
|
#include <config.h>
Go to the source code of this file.
Functions | |
void | handle_button_press (xcb_button_press_event_t *event) |
The button press X callback. | |
void handle_button_press | ( | xcb_button_press_event_t * | event | ) |
The button press X callback.
This function determines whether the floating modifier is pressed and where the user clicked (decoration, border, inside the window).
Then, route_click is called on the appropriate con.
Definition at line 372 of file click.c.
References CLICK_BORDER, CLICK_DECORATION, CLICK_INSIDE, command_result_free(), con_by_frame_id(), con_by_window_id(), con_get_workspace(), con_is_internal(), conn, croot, Con::deco_rect, DLOG, ELOG, focused, get_binding_from_xcb_event(), last_timestamp, output_get_content(), Con::rect, rect_contains(), root, route_click(), run_binding(), TAILQ_FIRST, TAILQ_FOREACH, TAILQ_FOREACH_REVERSE, tree_render(), Binding::whole_window, Con::window, and workspace_show().
Referenced by handle_event().