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