diff options
author | Kevin Walzer <kw@codebykevin.com> | 2015-02-14 01:22:31 (GMT) |
---|---|---|
committer | Kevin Walzer <kw@codebykevin.com> | 2015-02-14 01:22:31 (GMT) |
commit | cbee063a0467fd69db77cc48910eb4462da0d800 (patch) | |
tree | e79f55b44f95f6179235b9165a41dd224108cea5 /macosx | |
parent | b28f3f8ee67ef7baf09b8f748e5888668f3b8564 (diff) | |
download | tk-cbee063a0467fd69db77cc48910eb4462da0d800.zip tk-cbee063a0467fd69db77cc48910eb4462da0d800.tar.gz tk-cbee063a0467fd69db77cc48910eb4462da0d800.tar.bz2 |
Remove calls during window resize notification that cause crash on Cocoa
Diffstat (limited to 'macosx')
-rw-r--r-- | macosx/tkMacOSXWindowEvent.c | 6 |
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 |