aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/devdraw/osx-screen-carbon.m
diff options
context:
space:
mode:
authorJeff Sickel <jas@corpus-callosum.com>2011-01-12 00:54:22 -0500
committerRuss Cox <rsc@swtch.com>2011-01-12 00:54:22 -0500
commitcbcec5adb9cb2274f3c4e2f3a8f4926b2e9689e8 (patch)
tree5551418e4199782ab71627f0091bb31cb94205d3 /src/cmd/devdraw/osx-screen-carbon.m
parenta2f6b810f5be2a233fc58762ccc009a15edabf8b (diff)
downloadplan9port-cbcec5adb9cb2274f3c4e2f3a8f4926b2e9689e8.tar.gz
plan9port-cbcec5adb9cb2274f3c4e2f3a8f4926b2e9689e8.tar.bz2
plan9port-cbcec5adb9cb2274f3c4e2f3a8f4926b2e9689e8.zip
devdraw: fix flashing during window drag
R=rsc CC=codebot http://codereview.appspot.com/3922043
Diffstat (limited to 'src/cmd/devdraw/osx-screen-carbon.m')
-rw-r--r--src/cmd/devdraw/osx-screen-carbon.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/devdraw/osx-screen-carbon.m b/src/cmd/devdraw/osx-screen-carbon.m
index 6f3b4312..01356726 100644
--- a/src/cmd/devdraw/osx-screen-carbon.m
+++ b/src/cmd/devdraw/osx-screen-carbon.m
@@ -525,7 +525,7 @@ eventhandler(EventHandlerCallRef next, EventRef event, void *arg)
exit(0);
case kEventWindowBoundsChanged:
- eresized(1);
+ eresized(0);
break;
case kEventWindowDrawContent: