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
|
2015-04-04 02:17:56 +02:00
|
|
|
* © 2009 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
|
|
|
*
|
|
|
|
*/
|
2013-12-29 03:11:50 +01:00
|
|
|
#pragma once
|
2009-09-22 18:07:25 +02:00
|
|
|
|
2016-10-11 09:13:35 +02:00
|
|
|
#include <config.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);
|