spmenu/libs/x11/mouse.h

26 lines
429 B
C
Raw Normal View History

2023-05-14 00:21:16 +02:00
/* See LICENSE file for copyright and license details. */
// clicks
enum {
ClickWindow,
ClickPrompt,
ClickInput,
ClickLArrow,
ClickItem,
ClickSelItem,
ClickRArrow,
ClickNumber,
ClickCaps,
ClickMode,
};
typedef struct {
2023-05-08 23:00:45 +02:00
unsigned int click;
unsigned int button;
void (*func)(Arg *arg);
Arg arg;
} Mouse;
static Mouse cbuttons[256];
static void buttonpress_x11(XEvent *e);