From ee3d9c5165de47a8d547a9aa3db4ff3515003332 Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Sun, 3 May 2015 13:17:53 -0400 Subject: [PATCH] Some more TODO resolution. --- darwin/window.m | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/darwin/window.m b/darwin/window.m index 1b35a678..47e9f197 100644 --- a/darwin/window.m +++ b/darwin/window.m @@ -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; }