(svn r27131) -Fix: Dropdown- and tooltip-windows should not steal the focus.

replace/41b28d7194a279bdc17475d4fbe2ea6ec885a466
frosch 10 years ago
parent 5e2bc783bf
commit c9114af706

@ -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)
);

@ -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)
);

Loading…
Cancel
Save