2009-09-22 12:07:25 -04:00
|
|
|
/*
|
2011-03-20 11:53:12 -04:00
|
|
|
* vim:ts=4:sw=4:expandtab
|
2009-09-22 12:07:25 -04:00
|
|
|
*
|
|
|
|
* i3 - an improved dynamic tiling window manager
|
2015-04-03 20:17:56 -04:00
|
|
|
* © 2009 Michael Stapelberg and contributors (see also: LICENSE)
|
2009-09-22 12:07:25 -04:00
|
|
|
*
|
2011-10-25 16:19:38 -04:00
|
|
|
* click.c: Button press (mouse click) events.
|
2009-09-22 12:07:25 -04:00
|
|
|
*
|
|
|
|
*/
|
2013-12-28 21:11:50 -05:00
|
|
|
#pragma once
|
2009-09-22 12:07:25 -04:00
|
|
|
|
2011-03-20 11:53:12 -04: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);
|