Cleanup: rename GRAB_POINTER -> GRAB_CURSOR

Term pointer is overloaded already.
This commit is contained in:
2015-04-27 18:44:27 +10:00
parent ddb5f96295
commit 5e1eb8cdcf
19 changed files with 41 additions and 36 deletions

View File

@@ -343,7 +343,7 @@ static int wm_macro_modal(bContext *C, wmOperator *op, const wmEvent *event)
int bounds[4] = {-1, -1, -1, -1};
const bool wrap = (
(U.uiflag & USER_CONTINUOUS_MOUSE) &&
((op->opm->flag & OP_GRAB_POINTER) || (op->opm->type->flag & OPTYPE_GRAB_POINTER)));
((op->opm->flag & OP_IS_MODAL_GRAB_CURSOR) || (op->opm->type->flag & OPTYPE_GRAB_CURSOR)));
if (wrap) {
ARegion *ar = CTX_wm_region(C);