-
- # ButtonPressAction *a = 0;
- # for (int i=0; i<BUTTONS; ++i) {
- # if (_posqueue[i]->button == e.button)
- # a = _posqueue[i];
- # if (a) // found one and removed it
- # _posqueue[i] = _posqueue[i+1];
- # }
- # if (a) { // found one
- # _posqueue[BUTTONS-1] = a;
- # a->button = 0;
- # }
-
-
-def def_motion(action, win, type, modifiers, xroot, yroot, time):
- client = Openbox_findClient(openbox, win)
- if not client: return