summaryrefslogtreecommitdiffstats
path: root/macosx
diff options
context:
space:
mode:
Diffstat (limited to 'macosx')
-rw-r--r--macosx/tkMacOSXWindowEvent.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/macosx/tkMacOSXWindowEvent.c b/macosx/tkMacOSXWindowEvent.c
index 1b43296..fea6049 100644
--- a/macosx/tkMacOSXWindowEvent.c
+++ b/macosx/tkMacOSXWindowEvent.c
@@ -848,12 +848,11 @@ ExposeRestrictProc(
- (BOOL) preservesContentDuringLiveResize
{
- return YES;
+ return NO;
}
- (void)viewWillStartLiveResize
{
- NSDisableScreenUpdates();
[super viewWillStartLiveResize];
[self setNeedsDisplay:NO];
[self setHidden:YES];
@@ -863,7 +862,6 @@ ExposeRestrictProc(
- (void)viewDidEndLiveResize
{
- NSEnableScreenUpdates();
[self setHidden:NO];
[self setNeedsDisplay:YES];
[super setNeedsDisplay:YES];