Fix #128906: Remove Docking Draw Callbacks After Deactivate

If we lose focus while splitting or docking we need to make sure that
the overlay drawing callbacks are stopped.

Pull Request: https://projects.blender.org/blender/blender/pulls/128957
This commit is contained in:
Harley Acheson
2024-10-13 20:24:35 +02:00
committed by Harley Acheson
parent eb2b0ac3f1
commit bdee3dfaa2

View File

@@ -4126,6 +4126,7 @@ static int area_join_modal(bContext *C, wmOperator *op, const wmEvent *event)
{
if (event->type == WINDEACTIVATE) {
/* This operator can close windows, which can cause it to be re-run. */
area_join_exit(C, op);
return OPERATOR_FINISHED;
}