Dunst
Lightweight notification daemon
Loading...
Searching...
No Matches
input.h File Reference

Input handling for mouse events. More...

#include <stdbool.h>
+ Include dependency graph for input.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void input_handle_click (unsigned int button, bool button_down, int mouse_x, int mouse_y)
 Handle incoming mouse click events.
 

Detailed Description

Input handling for mouse events.

License
BSD-3-Clause

Definition in file input.h.

Function Documentation

◆ input_handle_click()

void input_handle_click ( unsigned int button,
bool button_down,
int mouse_x,
int mouse_y )

Handle incoming mouse click events.

Parameters
buttoncode, A linux input event code
button_downState of the button
mouse_xX-position of the mouse, relative to the window
mouse_yY-position of the mouse, relative to the window

Definition at line 67 of file input.c.