summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWilliam Joye <wjoye@cfa.harvard.edu>2019-10-23 20:17:42 (GMT)
committerWilliam Joye <wjoye@cfa.harvard.edu>2019-10-23 20:17:42 (GMT)
commitbcf6e874d4878ed19febb7c7e1a34b67822aca5a (patch)
tree3faefc0bf73c788fb3f3bf6cd2b8adb859312e1f
parent0ee6b474138466bf3149cd92962ec55efe6fbe86 (diff)
downloadblt-bcf6e874d4878ed19febb7c7e1a34b67822aca5a.zip
blt-bcf6e874d4878ed19febb7c7e1a34b67822aca5a.tar.gz
blt-bcf6e874d4878ed19febb7c7e1a34b67822aca5a.tar.bz2
try again, reset on Expose event for MacOS darkmodeHEADv3.2.20master
-rw-r--r--generic/tkbltGraphOp.C4
1 files changed, 3 insertions, 1 deletions
diff --git a/generic/tkbltGraphOp.C b/generic/tkbltGraphOp.C
index ada2758..725bde7 100644
--- a/generic/tkbltGraphOp.C
+++ b/generic/tkbltGraphOp.C
@@ -420,8 +420,10 @@ void GraphEventProc(ClientData clientData, XEvent* eventPtr)
Graph* graphPtr = (Graph*)clientData;
if (eventPtr->type == Expose) {
- if (eventPtr->xexpose.count == 0)
+ if (eventPtr->xexpose.count == 0) {
+ graphPtr->flags |= RESET;
graphPtr->eventuallyRedraw();
+ }
}
else if (eventPtr->type == FocusIn || eventPtr->type == FocusOut) {
if (eventPtr->xfocus.detail != NotifyInferior) {