Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=48761 Signed-off-by: Roman Pišl rpisl@seznam.cz --- dlls/user32/tests/msg.c | 1 - server/window.c | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-)
diff --git a/dlls/user32/tests/msg.c b/dlls/user32/tests/msg.c index 689ad7161f5..df468516862 100644 --- a/dlls/user32/tests/msg.c +++ b/dlls/user32/tests/msg.c @@ -2820,7 +2820,6 @@ static void ok_sequence_(const struct message *expected_list, const char *contex context, count, expected->message); if ((expected->flags & kbd_hook) != (actual->flags & kbd_hook)) dump++;
- todo_wine_if(expected->flags & has_update) ok_( file, line) (!(expected->flags & has_update) || (actual->flags & has_update), "%s: %u: the msg 0x%04x should have update region\n", context, count, expected->message );
diff --git a/server/window.c b/server/window.c index 7675cd1103d..37e240190f8 100644 --- a/server/window.c +++ b/server/window.c @@ -1501,7 +1501,7 @@ static void redraw_window( struct window *win, struct region *region, int frame, if (flags & RDW_FRAME) win->paint_flags |= PAINT_NONCLIENT; if (flags & RDW_ERASE) win->paint_flags |= PAINT_ERASE; } - else if (flags & RDW_VALIDATE) + else if ((flags & RDW_VALIDATE) && !(flags & RDW_INTERNALPAINT)) { if (!region && (flags & RDW_NOFRAME)) /* shortcut: validate everything */ {