diff options
author | Kevin Walzer <kw@codebykevin.com> | 2015-03-15 20:32:14 (GMT) |
---|---|---|
committer | Kevin Walzer <kw@codebykevin.com> | 2015-03-15 20:32:14 (GMT) |
commit | 9df910230823bd6be37562f8f344258c54add11f (patch) | |
tree | 386fb5ea45b4fe497e77a1c7188b45a6316a8435 /macosx/tkMacOSXWindowEvent.c | |
parent | 8aa3278f2572dd3af0d953e4358071396597e26f (diff) | |
download | tk-9df910230823bd6be37562f8f344258c54add11f.zip tk-9df910230823bd6be37562f8f344258c54add11f.tar.gz tk-9df910230823bd6be37562f8f344258c54add11f.tar.bz2 |
Wish now launches in front when caed 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 3233b37..86a1960 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) @@ -940,7 +940,7 @@ ExposeRestrictProc( { NSWindow *w = [self window]; - if (opaqueTag != NULL) { + if (opaqueTag) { return YES; } else { |