diff --git a/py/hexagram/app.pyx b/py/hexagram/app.pyx index 8f26c5c..867cb7a 100755 --- a/py/hexagram/app.pyx +++ b/py/hexagram/app.pyx @@ -30,6 +30,7 @@ cdef handle_xevents(hexagram_window *window, while XPending(display) > 0: XNextEvent(display, &e) + if e.type == MapNotify or e.type == Expose: hexagram_window_refresh_bg(window) cluster.draw_fg(fg)