Revert options window stick to front.

Changed scenarioselect to not stick to front.
Object selection now correctly changed to not stick to front.
This commit is contained in:
Duncan Frost 2015-04-15 18:02:04 +01:00
parent 9d8983a5c7
commit f40555f88b
3 changed files with 3 additions and 3 deletions

View File

@ -214,7 +214,7 @@ void window_editor_object_selection_open()
400,
(uint32*)window_editor_object_selection_events,
WC_EDITOR_OBJECT_SELECTION,
WF_STICK_TO_FRONT
WF_10
);
window->widgets = window_editor_object_selection_widgets;

View File

@ -221,7 +221,7 @@ void window_options_open()
if (w != NULL)
return;
w = window_create_centred(WW, WH, (uint32*)window_options_events, WC_OPTIONS, WF_STICK_TO_FRONT);
w = window_create_centred(WW, WH, (uint32*)window_options_events, WC_OPTIONS, 0);
w->widgets = window_options_widgets;
w->enabled_widgets =
(1ULL << WIDX_CLOSE) |

View File

@ -116,7 +116,7 @@ void window_scenarioselect_open()
334,
(uint32*)window_scenarioselect_events,
WC_SCENARIO_SELECT,
WF_STICK_TO_FRONT | WF_10
WF_10
);
window->widgets = window_scenarioselect_widgets;