summaryrefslogtreecommitdiffstats
path: root/macosx/tkMacOSXWindowEvent.c
diff options
context:
space:
mode:
authorKevin Walzer <kw@codebykevin.com>2015-03-15 20:32:14 (GMT)
committerKevin Walzer <kw@codebykevin.com>2015-03-15 20:32:14 (GMT)
commit9df910230823bd6be37562f8f344258c54add11f (patch)
tree386fb5ea45b4fe497e77a1c7188b45a6316a8435 /macosx/tkMacOSXWindowEvent.c
parent8aa3278f2572dd3af0d953e4358071396597e26f (diff)
downloadtk-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.c4
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 {