Dmitry Timoshkov (@dmitry) commented about server/window.c:
offset_region( tmp, win->window_rect.left - win->client_rect.left, win->window_rect.top - win->client_rect.top );
- if (flags & RDW_INVALIDATE) flags |= RDW_FRAME | RDW_ERASE;
- if (flags & RDW_INVALIDATE) flags |= RDW_ERASE;
Why are you removing this optimization?