all repos — openbox @ f8a47de5ec444c452093371e3db16857eb39a490

openbox fork - make it a bit more like ryudo

c/mbind.h (raw)

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#ifndef __mbind_h
#define __mbind_h

#include "obexport.h"
#include "client.h"
#include <glib.h>

void mbind_startup();
void mbind_shutdown();

/*! Adds a new pointer binding */
gboolean mbind_add(char *name, GQuark context);
void mbind_clearall();

void mbind_fire(guint state, guint button, GQuark context, EventType type,
		Client *client, int xroot, int yroot);

void mbind_grab_all(Client *client, gboolean grab);
gboolean mbind_grab_pointer(gboolean grab);

#endif