Some more TODO resolution.

This commit is contained in:
Pietro Gagliardi 2015-05-03 13:17:53 -04:00
parent 9ff20ad5f6
commit ee3d9c5165
1 changed files with 3 additions and 2 deletions

View File

@ -97,8 +97,9 @@ static void windowShow(uiControl *c)
{
struct window *w = (struct window *) c;
// TODO making it key and ordering it front makes it foreground; see if there's just a generic "orderIn:" that doesn't affect Z-order
[w->window makeKeyAndOrderFront:w->window];
// don't make it key
// unfortunately there's no orderIn: or something that says "make the window visible but preserve the z-order" so
[w->window orderFront:w->window];
w->hidden = 0;
}