X-Git-Url: http://git.openbox.org/?p=dana%2Fopenbox.git;a=blobdiff_plain;f=openbox%2Fmouse.c;h=cd8490f143d03e171c9bf3e8a1d1aaa730f30c5b;hp=b5d97336c90dc87d1ee3f9d18fa5bc09fc2d5134;hb=7e47a57027e043d4fe908d5f0acb7882d4f9330f;hpb=8387c6cce85136426837e1528cdd2bf851a1ce3a diff --git a/openbox/mouse.c b/openbox/mouse.c index b5d9733..cd8490f 100644 --- a/openbox/mouse.c +++ b/openbox/mouse.c @@ -37,12 +37,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