summaryrefslogtreecommitdiffstats
path: root/macosx/tkMacOSXWindowEvent.c
diff options
context:
space:
mode:
authorKevin Walzer <kw@codebykevin.com>2015-02-14 01:22:31 (GMT)
committerKevin Walzer <kw@codebykevin.com>2015-02-14 01:22:31 (GMT)
commit27538409d500aa8a26dd5f72bf26514ea234a95a (patch)
treebeff309bc4383bbc6a4f5ea31f010f783d062506 /macosx/tkMacOSXWindowEvent.c
parentd9b04b436af1f10f26bfffac3006e7cfd3006e57 (diff)
downloadtk-27538409d500aa8a26dd5f72bf26514ea234a95a.zip
tk-27538409d500aa8a26dd5f72bf26514ea234a95a.tar.gz
tk-27538409d500aa8a26dd5f72bf26514ea234a95a.tar.bz2
Remove calls during window resize notification that cause crash on Cocoa
Diffstat (limited to 'macosx/tkMacOSXWindowEvent.c')
-rw-r--r--macosx/tkMacOSXWindowEvent.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/macosx/tkMacOSXWindowEvent.c b/macosx/tkMacOSXWindowEvent.c
index 0f1e2be..1b43296 100644
--- a/macosx/tkMacOSXWindowEvent.c
+++ b/macosx/tkMacOSXWindowEvent.c
@@ -80,10 +80,6 @@ extern NSString *opaqueTag;
NSWindow *w = [notification object];
TkWindow *winPtr = TkMacOSXGetTkWindow(w);
- /*Disable drawing until window is resized removes flicker and drawing artifacts;necessary after removal of private API.*/
- NSDisableScreenUpdates();
- [ [w contentView] setHidden:YES];
-
if (winPtr) {
WmInfo *wmPtr = winPtr->wmInfoPtr;
NSRect bounds = [w frame];
@@ -111,8 +107,6 @@ extern NSString *opaqueTag;
}
TkGenWMConfigureEvent((Tk_Window) winPtr, x, y, width, height, flags);
}
- [[w contentView] setHidden:NO];
- NSEnableScreenUpdates();
}
- (void) windowExpanded: (NSNotification *) notification