/** Handle mouse click on workspace selection */ static void click_ws(struct bar_box_t *self, int x) { struct arg_t arg; /* find which workspace */ x += self->x; arg.u = x / (self->w / cfg_.num_workspaces); change_ws(&arg); }
change_whitespace(I &i, CharPred pred, int mode = REPLACE) : i(i), //ws(pred,mode), old(change_ws(i, pred, mode)) {}