Codebase list i3-gaps / 341d51b6-11e6-4c53-9524-6c7c7f992f9b/main include / click.h
341d51b6-11e6-4c53-9524-6c7c7f992f9b/main

Tree @341d51b6-11e6-4c53-9524-6c7c7f992f9b/main (Download .tar.gz)

click.h @341d51b6-11e6-4c53-9524-6c7c7f992f9b/mainraw · history · blame

/*
 * vim:ts=4:sw=4:expandtab
 *
 * i3 - an improved dynamic tiling window manager
 * © 2009 Michael Stapelberg and contributors (see also: LICENSE)
 *
 * click.c: Button press (mouse click) events.
 *
 */
#pragma once

#include <config.h>

/**
 * 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.
 *
 */
void handle_button_press(xcb_button_press_event_t *event);