openbox/plugins/mouse/mouse.h

24 lines
513 B
C

#ifndef __plugin_mouse_mouse_h
#define __plugin_mouse_mouse_h
#include "../../kernel/action.h"
typedef enum {
MouseAction_Press,
MouseAction_Release,
MouseAction_Click,
MouseAction_DClick,
MouseAction_Motion,
NUM_MOUSEACTION
} MouseAction;
typedef struct {
guint state;
guint button;
GSList *actions[NUM_MOUSEACTION]; /* lists of Action pointers */
} MouseBinding;
gboolean mbind(char *buttonstr, char *contextstr, MouseAction mact,
Action *action);
#endif