diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/misc_gui.cpp | 2 | ||||
-rw-r--r-- | src/widgets/dropdown.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/misc_gui.cpp b/src/misc_gui.cpp index 1ed7444bc..0f61d67de 100644 --- a/src/misc_gui.cpp +++ b/src/misc_gui.cpp @@ -632,7 +632,7 @@ static const NWidgetPart _nested_tooltips_widgets[] = { static WindowDesc _tool_tips_desc( WDP_MANUAL, NULL, 0, 0, // Coordinates and sizes are not used, WC_TOOLTIPS, WC_NONE, - 0, + WDF_NO_FOCUS, _nested_tooltips_widgets, lengthof(_nested_tooltips_widgets) ); diff --git a/src/widgets/dropdown.cpp b/src/widgets/dropdown.cpp index e83772799..aecfc6b2f 100644 --- a/src/widgets/dropdown.cpp +++ b/src/widgets/dropdown.cpp @@ -82,7 +82,7 @@ static const NWidgetPart _nested_dropdown_menu_widgets[] = { static WindowDesc _dropdown_desc( WDP_MANUAL, NULL, 0, 0, WC_DROPDOWN_MENU, WC_NONE, - 0, + WDF_NO_FOCUS, _nested_dropdown_menu_widgets, lengthof(_nested_dropdown_menu_widgets) ); |