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

pull/155/head
frosch 10 years ago
parent 4e626567ae
commit 18a1131e9f

@ -632,7 +632,7 @@ static const NWidgetPart _nested_tooltips_widgets[] = {
static WindowDesc _tool_tips_desc( static WindowDesc _tool_tips_desc(
WDP_MANUAL, NULL, 0, 0, // Coordinates and sizes are not used, WDP_MANUAL, NULL, 0, 0, // Coordinates and sizes are not used,
WC_TOOLTIPS, WC_NONE, WC_TOOLTIPS, WC_NONE,
0, WDF_NO_FOCUS,
_nested_tooltips_widgets, lengthof(_nested_tooltips_widgets) _nested_tooltips_widgets, lengthof(_nested_tooltips_widgets)
); );

@ -82,7 +82,7 @@ static const NWidgetPart _nested_dropdown_menu_widgets[] = {
static WindowDesc _dropdown_desc( static WindowDesc _dropdown_desc(
WDP_MANUAL, NULL, 0, 0, WDP_MANUAL, NULL, 0, 0,
WC_DROPDOWN_MENU, WC_NONE, WC_DROPDOWN_MENU, WC_NONE,
0, WDF_NO_FOCUS,
_nested_dropdown_menu_widgets, lengthof(_nested_dropdown_menu_widgets) _nested_dropdown_menu_widgets, lengthof(_nested_dropdown_menu_widgets)
); );

Loading…
Cancel
Save