summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/graphics_cs_x11.c7
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: