diff options
author | Kevin Walzer <kw@codebykevin.com> | 2015-03-15 20:22:13 (GMT) |
---|---|---|
committer | Kevin Walzer <kw@codebykevin.com> | 2015-03-15 20:22:13 (GMT) |
commit | 6d849d232afb87840ffe3c1f9055e400e0907a63 (patch) | |
tree | c3286f47ef4ef5e87529cdb80059521711740ad0 /macosx/tkMacOSXWindowEvent.c | |
parent | c68ea4689ef059f8cb246200b048e574766e8b84 (diff) | |
download | tk-6d849d232afb87840ffe3c1f9055e400e0907a63.zip tk-6d849d232afb87840ffe3c1f9055e400e0907a63.tar.gz tk-6d849d232afb87840ffe3c1f9055e400e0907a63.tar.bz2 |
Wish now launches in front when called from command line, and focus -force works correctly; thanks to Marc Culler for patch
Diffstat (limited to 'macosx/tkMacOSXWindowEvent.c')
-rw-r--r-- | macosx/tkMacOSXWindowEvent.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/macosx/tkMacOSXWindowEvent.c b/macosx/tkMacOSXWindowEvent.c index 5f782c5..3e2a437 100644 --- a/macosx/tkMacOSXWindowEvent.c +++ b/macosx/tkMacOSXWindowEvent.c @@ -48,7 +48,7 @@ extern NSString *NSWindowDidOrderOffScreenNotification; #endif #endif -extern NSString *opaqueTag; +extern BOOL opaqueTag; @implementation TKApplication(TKWindowEvent) @@ -935,7 +935,7 @@ ExposeRestrictProc( { NSWindow *w = [self window]; - if (opaqueTag != NULL) { + if (opaqueTag) { return YES; } else { |