]> git.sur5r.net Git - i3/i3/blobdiff - include/click.h
Merge branch 'master' into next
[i3/i3] / include / click.h
index de977ea4873aaabd12c2a4ca36d0d418e62312af..c63672a7cce954e461ab979350091d71fe62cef2 100644 (file)
@@ -1,16 +1,20 @@
 /*
- * vim:ts=8:expandtab
+ * vim:ts=4:sw=4:expandtab
  *
  * i3 - an improved dynamic tiling window manager
+ * © 2009-2011 Michael Stapelberg and contributors (see also: LICENSE)
  *
- * © 2009 Michael Stapelberg and contributors
- *
- * See file LICENSE for license information.
+ * click.c: Button press (mouse click) events.
  *
  */
-#ifndef _CLICK_H
-#define _CLICK_H
-
-int handle_button_press(void *ignored, xcb_connection_t *conn, xcb_button_press_event_t *event);
+#pragma once
 
-#endif
+/**
+ * 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);