Currently, create() is only called by the ship windows and by popup messages 
(e.g. the current status with the collectors win condition but not messages 
like "no rocks"). When the notifications_buildingwindows branch is merged, 
buildings will use it, too.

I just tried (and pushed) a modification of create() where an existing window 
is focused when "created" a second time. In the case of ships this means that 
clicking on a ship will show the minimized window again, which is a feature I 
personally would like to have.
With the collector-messages the change means that the message window will be 
focused again when previously minimized (but not closed). Whether we want this 
is up to discussion.
-- 
https://code.launchpad.net/~widelands-dev/widelands/bug-1663490-ship-windows/+merge/317051
Your team Widelands Developers is subscribed to branch 
lp:~widelands-dev/widelands/bug-1663490-ship-windows.

_______________________________________________
Mailing list: https://launchpad.net/~widelands-dev
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~widelands-dev
More help   : https://help.launchpad.net/ListHelp

Reply via email to