Module: wine Branch: master Commit: 29b39020f789fad042824822b5aa05ec0470438a URL: http://source.winehq.org/git/wine.git/?a=commit;h=29b39020f789fad042824822b5...
Author: Alexandre Julliard julliard@winehq.org Date: Wed Oct 17 15:35:00 2012 +0200
server: Fix propagation of the pixel format flag when the parent window is changed.
---
server/window.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/server/window.c b/server/window.c index 2b4bc50..368171f 100644 --- a/server/window.c +++ b/server/window.c @@ -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 */ {