summaryrefslogtreecommitdiffstats
path: root/macosx/tkMacOSXWindowEvent.c
diff options
context:
space:
mode:
authorKevin Walzer <kw@codebykevin.com>2014-11-20 02:34:09 (GMT)
committerKevin Walzer <kw@codebykevin.com>2014-11-20 02:34:09 (GMT)
commit02b543ede36c5f387093c576a915c0788628bedb (patch)
tree5a101e668abf73d28f52221e94951ca6a824c959 /macosx/tkMacOSXWindowEvent.c
parent0e22d8ae3dcf3f15ae9df9bab55581868f8dbf5a (diff)
downloadtk-02b543ede36c5f387093c576a915c0788628bedb.zip
tk-02b543ede36c5f387093c576a915c0788628bedb.tar.gz
tk-02b543ede36c5f387093c576a915c0788628bedb.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.c8
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