Go to the source code of this file.
Functions | |
int | handle_button_press (xcb_button_press_event_t *event) |
The button press X callback. |
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 255 of file click.c.
References CLICK_BORDER, CLICK_DECORATION, CLICK_INSIDE, con_by_frame_id(), con_by_window_id(), config, conn, Con::deco_rect, DLOG, ELOG, Config::floating_modifier, rect_contains(), route_click(), and TAILQ_FOREACH.
Referenced by handle_event().