X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=openbox%2Fmouse.c;h=f63d2663bd2c35b0dcc0b305f7008f587d1b647b;hb=ba1ac214dfdbc0539c922e84c2318c1bf2566c0c;hp=857f6d09e61942b86127edf5e5d85c873fa1773e;hpb=2cb31da22c0a357a2251aabc660e0cc14b215d97;p=chaz%2Fopenbox diff --git a/openbox/mouse.c b/openbox/mouse.c index 857f6d09..f63d2663 100644 --- a/openbox/mouse.c +++ b/openbox/mouse.c @@ -38,12 +38,6 @@ typedef struct { GSList *actions[OB_NUM_MOUSE_ACTIONS]; /* lists of Action pointers */ } ObMouseBinding; -#define FRAME_CONTEXT(co, cl) ((cl && cl->type != OB_CLIENT_TYPE_DESKTOP) ? \ - co == OB_FRAME_CONTEXT_FRAME : FALSE) -#define CLIENT_CONTEXT(co, cl) ((cl && cl->type == OB_CLIENT_TYPE_DESKTOP) ? \ - co == OB_FRAME_CONTEXT_DESKTOP : \ - co == OB_FRAME_CONTEXT_CLIENT) - /* Array of GSList*s of ObMouseBinding*s. */ static GSList *bound_contexts[OB_FRAME_NUM_CONTEXTS]; /* TRUE when we have a grab on the pointer and need to replay the pointer event