12 Jun
2024
12 Jun
'24
3:14 p.m.
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? -- https://gitlab.winehq.org/wine/wine/-/merge_requests/5665#note_72955