i3
|
Go to the source code of this file.
Functions | |
int | handle_button_press (xcb_button_press_event_t *event) |
The button press X callback. More... | |
int 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 314 of file click.c.
References CLICK_BORDER, CLICK_DECORATION, CLICK_INSIDE, con_by_frame_id(), con_by_window_id(), con_get_workspace(), con_is_internal(), config, conn, croot, Con::deco_rect, DLOG, ELOG, Config::floating_modifier, focused, last_timestamp, output_get_content(), Con::rect, rect_contains(), root, route_click(), TAILQ_FIRST, TAILQ_FOREACH, tree_render(), and workspace_show().
Referenced by handle_event().