summaryrefslogtreecommitdiffstats
path: root/macosx/tkMacOSXPrivate.h
diff options
context:
space:
mode:
authorculler <culler>2018-10-24 16:43:45 (GMT)
committerculler <culler>2018-10-24 16:43:45 (GMT)
commitddb5db1e6f025f1852420243feca27d491051596 (patch)
treea0c5b5817f3c55cb1e47f4e6d8ed4f33f510c1e5 /macosx/tkMacOSXPrivate.h
parent6327579716bd47191431b8c778cfca0552a198c8 (diff)
downloadtk-ddb5db1e6f025f1852420243feca27d491051596.zip
tk-ddb5db1e6f025f1852420243feca27d491051596.tar.gz
tk-ddb5db1e6f025f1852420243feca27d491051596.tar.bz2
Added a boolean state variable so a displayProc can check if it is being run by drawRect.
Diffstat (limited to 'macosx/tkMacOSXPrivate.h')
-rw-r--r--macosx/tkMacOSXPrivate.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/macosx/tkMacOSXPrivate.h b/macosx/tkMacOSXPrivate.h
index 7337400..ea4c750 100644
--- a/macosx/tkMacOSXPrivate.h
+++ b/macosx/tkMacOSXPrivate.h
@@ -266,10 +266,12 @@ VISIBILITY_HIDDEN
/* The Objective C runtime used on i386 requires this. */
int _poolLock;
int _macMinorVersion;
+ Bool _isDrawing;
#endif
}
@property int poolLock;
@property int macMinorVersion;
+@property Bool isDrawing;
@end
@interface TKApplication(TKInit)