2009-09-22 18:07:25 +02:00
|
|
|
/*
|
2011-03-20 16:53:12 +01:00
|
|
|
* vim:ts=4:sw=4:expandtab
|
2009-09-22 18:07:25 +02:00
|
|
|
*
|
|
|
|
* i3 - an improved dynamic tiling window manager
|
2011-10-25 22:19:38 +02:00
|
|
|
* © 2009-2011 Michael Stapelberg and contributors (see also: LICENSE)
|
2009-09-22 18:07:25 +02:00
|
|
|
*
|
2011-10-25 22:19:38 +02:00
|
|
|
* click.c: Button press (mouse click) events.
|
2009-09-22 18:07:25 +02:00
|
|
|
*
|
|
|
|
*/
|
|
|
|
#ifndef _CLICK_H
|
|
|
|
#define _CLICK_H
|
|
|
|
|
2011-03-20 16:53:12 +01:00
|
|
|
/**
|
|
|
|
* 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.
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
int handle_button_press(xcb_button_press_event_t *event);
|
2009-09-22 18:07:25 +02:00
|
|
|
|
|
|
|
#endif
|