spmenu/libs/mouse.h

27 lines
448 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 mask;
unsigned int button;
void (*func)(Arg *arg);
Arg arg;
} Mouse;
static Mouse cbuttons[256];
2023-03-08 17:20:32 +01:00
static void buttonpress(XEvent *e);