diff options
author | Kevin Walzer <kw@codebykevin.com> | 2014-11-20 02:34:09 (GMT) |
---|---|---|
committer | Kevin Walzer <kw@codebykevin.com> | 2014-11-20 02:34:09 (GMT) |
commit | 01b5769650475466c59e38e4943abc009872cb56 (patch) | |
tree | 5a101e668abf73d28f52221e94951ca6a824c959 /macosx/tkMacOSXWindowEvent.c | |
parent | a3284c836bae48f2fcb6dd27ede98526a4e53fd0 (diff) | |
download | tk-01b5769650475466c59e38e4943abc009872cb56.zip tk-01b5769650475466c59e38e4943abc009872cb56.tar.gz tk-01b5769650475466c59e38e4943abc009872cb56.tar.bz2 |
Back out changes not pertaining to private API; those files should not have been updated.
Diffstat (limited to 'macosx/tkMacOSXWindowEvent.c')
-rw-r--r-- | macosx/tkMacOSXWindowEvent.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/macosx/tkMacOSXWindowEvent.c b/macosx/tkMacOSXWindowEvent.c index 361b2e2..b257caa 100644 --- a/macosx/tkMacOSXWindowEvent.c +++ b/macosx/tkMacOSXWindowEvent.c @@ -10,7 +10,7 @@ * See the file "license.terms" for information on usage and redistribution of * this file, and for a DISCLAIMER OF ALL WARRANTIES. */ - + #include "tkMacOSXPrivate.h" #include "tkMacOSXWm.h" #include "tkMacOSXEvent.h" @@ -831,11 +831,7 @@ ExposeRestrictProc( HIShapeUnionWithRect(drawShape, &r); } if (CFRunLoopGetMain() == CFRunLoopGetCurrent()) { - if (!_in_event) { - _in_event = true; - [self generateExposeEvents:drawShape]; - _in_event = false; - } + [self generateExposeEvents:drawShape]; } else { [self performSelectorOnMainThread:@selector(generateExposeEvents:) withObject:(id)drawShape waitUntilDone:NO |