Code cleanup: remove redundant CTX calls
This commit is contained in:
@@ -340,7 +340,7 @@ static int wm_macro_modal(bContext *C, wmOperator *op, const wmEvent *event)
|
||||
}
|
||||
}
|
||||
|
||||
WM_cursor_grab_enable(CTX_wm_window(C), wrap, false, bounds);
|
||||
WM_cursor_grab_enable(win, wrap, false, bounds);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user