2009-09-22 20:07:25 +04:00
|
|
|
/*
|
2011-03-20 18:53:12 +03:00
|
|
|
* vim:ts=4:sw=4:expandtab
|
2009-09-22 20:07:25 +04:00
|
|
|
*
|
|
|
|
* i3 - an improved dynamic tiling window manager
|
2015-04-04 03:17:56 +03:00
|
|
|
* © 2009 Michael Stapelberg and contributors (see also: LICENSE)
|
2009-09-22 20:07:25 +04:00
|
|
|
*
|
2011-10-26 00:19:38 +04:00
|
|
|
* click.c: Button press (mouse click) events.
|
2009-09-22 20:07:25 +04:00
|
|
|
*
|
|
|
|
*/
|
2013-12-29 06:11:50 +04:00
|
|
|
#pragma once
|
2009-09-22 20:07:25 +04:00
|
|
|
|
2016-10-11 10:13:35 +03:00
|
|
|
#include <config.h>
|
|
|
|
|
2011-03-20 18:53:12 +03: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.
|
|
|
|
*
|
|
|
|
*/
|
2020-04-09 17:16:30 +03:00
|
|
|
void handle_button_press(xcb_button_press_event_t *event);
|