Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrecht Van Lommel <brechtvanlommel@gmail.com>2019-01-02 20:56:36 +0300
committerBrecht Van Lommel <brechtvanlommel@gmail.com>2019-01-02 20:56:36 +0300
commit26e0dc5d150c558946d6e2009cb1662b28c3fb82 (patch)
tree3f8f5771579680653899c914abaef27bacc3519e
parentf8ce4ebf073cec4224a29c3ac9d3961814f93c4d (diff)
Fix T59063: operator search menu loses background in some cases.
-rw-r--r--source/blender/windowmanager/intern/wm_operators.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/source/blender/windowmanager/intern/wm_operators.c b/source/blender/windowmanager/intern/wm_operators.c
index 7c7b953087e..60a26cc2f77 100644
--- a/source/blender/windowmanager/intern/wm_operators.c
+++ b/source/blender/windowmanager/intern/wm_operators.c
@@ -1651,12 +1651,9 @@ static int wm_search_menu_invoke(bContext *C, wmOperator *UNUSED(op), const wmEv
}
- struct SearchPopupInit_Data data = {
- .size = {
- UI_searchbox_size_x() * 2,
- UI_searchbox_size_y(),
- },
- };
+ static struct SearchPopupInit_Data data;
+ data.size[0] = UI_searchbox_size_x() * 2;
+ data.size[1] = UI_searchbox_size_y();
UI_popup_block_invoke(C, wm_block_search_menu, &data);