summaryrefslogtreecommitdiffstats
path: root/macosx/tkMacOSXNotify.c
diff options
context:
space:
mode:
authorKevin Walzer <kw@codebykevin.com>2017-11-11 04:02:41 (GMT)
committerKevin Walzer <kw@codebykevin.com>2017-11-11 04:02:41 (GMT)
commitd5df7df7c8c66da6af400db30f3561061140647c (patch)
treec01bdc632bdee1086a399bb436c3aa30c87d6016 /macosx/tkMacOSXNotify.c
parent8640ffb2f18ad6d88fffa87459e16b7578f4bab5 (diff)
downloadtk-d5df7df7c8c66da6af400db30f3561061140647c.zip
tk-d5df7df7c8c66da6af400db30f3561061140647c.tar.gz
tk-d5df7df7c8c66da6af400db30f3561061140647c.tar.bz2
Implement wm_iconphoto command for macOS
Diffstat (limited to 'macosx/tkMacOSXNotify.c')
-rw-r--r--macosx/tkMacOSXNotify.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/macosx/tkMacOSXNotify.c b/macosx/tkMacOSXNotify.c
index b78d7ff..ac0c0ec 100644
--- a/macosx/tkMacOSXNotify.c
+++ b/macosx/tkMacOSXNotify.c
@@ -276,15 +276,15 @@ TkMacOSXEventsCheckProc(
inMode:GetRunLoopMode(modalSession)
dequeue:NO];
/* We must not steal any events during LiveResize. */
-#if MAC_OS_X_VERSION_MAX_ALLOWED >= 1060
+ #if MAC_OS_X_VERSION_MAX_ALLOWED >= 1060
if (testEvent && [[testEvent window] inLiveResize]) {
break;
}
-#else
+ #else
if (testEvent && [[[testEvent window] contentView] inLiveResize]) {
break;
}
-#endif
+ #endif
currentEvent = [NSApp nextEventMatchingMask:NSAnyEventMask
untilDate:[NSDate distantPast]
inMode:GetRunLoopMode(modalSession)