Commit 29b39020 authored by Alexandre Julliard's avatar Alexandre Julliard

server: Fix propagation of the pixel format flag when the parent window is changed.

parent 338dedef
......@@ -254,7 +254,8 @@ static int set_parent_window( struct window *win, struct window *parent )
if (parent->thread && parent->thread != win->thread && !is_desktop_window(parent))
attach_thread_input( win->thread, parent->thread );
if (win->paint_flags & PAINT_HAS_PIXEL_FORMAT) update_pixel_format_flags( win );
if (win->paint_flags & (PAINT_HAS_PIXEL_FORMAT | PAINT_PIXEL_FORMAT_CHILD))
update_pixel_format_flags( win );
}
else /* move it to parent unlinked list */
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment