diff options
author | epoch <epoch@hacking.allowed.org> | 2020-02-11 23:18:58 -0600 |
---|---|---|
committer | epoch <epoch@hacking.allowed.org> | 2020-02-11 23:18:58 -0600 |
commit | 4e72a56355b49d324aad672ea9efc6ff4064b449 (patch) | |
tree | 0879cd6a5615cf11602bf472ec24dc812a72664a /src | |
parent | afb06bd44b4b84b06e9b3bcbabecfcd1891d59c5 (diff) | |
download | hackvr-4e72a56355b49d324aad672ea9efc6ff4064b449.tar.gz hackvr-4e72a56355b49d324aad672ea9efc6ff4064b449.zip |
not sure why I had expose events not triggering a redraw
Diffstat (limited to 'src')
-rw-r--r-- | src/graphics_cs_x11.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/graphics_cs_x11.c b/src/graphics_cs_x11.c index bee2608..28c9eb5 100644 --- a/src/graphics_cs_x11.c +++ b/src/graphics_cs_x11.c @@ -508,9 +508,10 @@ int graphics_event_handler(int world_changed) { //should calling draw_screen be } while(XCheckMaskEvent(x11_global.dpy,HV_GRAPHICS_X11_EVENT_MASK,&e)) {//we should squish all of the window events. they just cause a redraw anyway switch(e.type) { -// case Expose: -// if(e.xexpose.count == 0) redraw=1; -// break; + case Expose: + //if(e.xexpose.count == 0) redraw=1; + redraw=1; + break; //These are all window events. case ConfigureNotify: |