From 81291da33b1e6f1cab8020cb72dd43a974a0a20e Mon Sep 17 00:00:00 2001 From: culler Date: Wed, 26 Jun 2024 05:07:38 +0000 Subject: replace accidentally deleted line; move the root window our of the way of raise tests. --- macosx/tkMacOSXSubwindows.c | 2 ++ tests/raise.test | 1 + 2 files changed, 3 insertions(+) diff --git a/macosx/tkMacOSXSubwindows.c b/macosx/tkMacOSXSubwindows.c index 771497c..5a253e7 100644 --- a/macosx/tkMacOSXSubwindows.c +++ b/macosx/tkMacOSXSubwindows.c @@ -190,6 +190,8 @@ XMapWindow( if (initialized) { if ([win canBecomeKeyWindow]) { [win makeKeyAndOrderFront:NSApp]; + } else { + [win orderFrontRegardless]; } /* diff --git a/tests/raise.test b/tests/raise.test index 2e9e2c6..7e6b0bd 100644 --- a/tests/raise.test +++ b/tests/raise.test @@ -16,6 +16,7 @@ namespace import -force tcltest::test # Procedure to create a bunch of overlapping windows, which should # make it easy to detect differences in order. +wm geometry . +400+400 proc raise_setup {} { destroy {*}[winfo children .raise] update idletasks -- cgit v0.12