From bdee3dfaa2a067fdff30fa19841baba799327c94 Mon Sep 17 00:00:00 2001 From: Harley Acheson Date: Sun, 13 Oct 2024 20:24:35 +0200 Subject: [PATCH] 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 --- source/blender/editors/screen/screen_ops.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/source/blender/editors/screen/screen_ops.cc b/source/blender/editors/screen/screen_ops.cc index 29493bf57ff..0d114f50f75 100644 --- a/source/blender/editors/screen/screen_ops.cc +++ b/source/blender/editors/screen/screen_ops.cc @@ -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; }