- redraw_goal_tile(state, display, window,
- x, y, w/3, h/3);
+#if X11_RENDER_DEBUG
+ XRectangle r = { w/3*(i%3), w/3*(i/3), w/3, h/3 };
+ XSetForeground(display, state->tile_gc, 0xff0000);
+ XFillRectangles(display, goal, state->tile_gc, &r, 1);
+ XFlush(display);
+ usleep(70000);
+#endif
+ redraw_goal_tile(state, display, goal, x, y, w/3, h/3);