Jinoh Kang (@iamahuman) commented about server/window.c:
struct region *tmp; if (!get_window_visible_rect( win, &rect, frame )) return NULL;
- if (win->parent && is_window_using_parent_dc( win ))
- {
int offset_x, offset_y;
if (!get_window_visible_rect( win->parent, &rect, 0 )) return NULL;
What if the parent window is using parent DC too? Shall we ascend the ancestor chain until we meet a non-`CS_PARENTDC` window?