include/click.h File Reference

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

int handle_button_press (xcb_button_press_event_t *event)
 The button press X callback.

Function Documentation

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().

Here is the call graph for this function:


Generated on 7 Feb 2013 for i3 by  doxygen 1.6.1