diff options
author | William Joye <wjoye@cfa.harvard.edu> | 2019-10-23 19:34:10 (GMT) |
---|---|---|
committer | William Joye <wjoye@cfa.harvard.edu> | 2019-10-23 19:34:10 (GMT) |
commit | 9f4f9feda5ac22792780e2c90b25aca0cf3fb85d (patch) | |
tree | 25a2d151ad9081748dbb0dad9e150c48080b68f0 /tkblt | |
parent | 0a9ecbe8ba8a9cb5f1242a312b5fb502c5f59732 (diff) | |
download | blt-9f4f9feda5ac22792780e2c90b25aca0cf3fb85d.zip blt-9f4f9feda5ac22792780e2c90b25aca0cf3fb85d.tar.gz blt-9f4f9feda5ac22792780e2c90b25aca0cf3fb85d.tar.bz2 |
configure on Expose, for MacOS darkmode
Diffstat (limited to 'tkblt')
-rw-r--r-- | tkblt/generic/tkbltGraphOp.C | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tkblt/generic/tkbltGraphOp.C b/tkblt/generic/tkbltGraphOp.C index ada2758..725bde7 100644 --- a/tkblt/generic/tkbltGraphOp.C +++ b/tkblt/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) { |