[prev in list] [next in list] [prev in thread] [next in thread] 

List:       wine-devel
Subject:    Re: Repaint the whole nonclient window area on
From:       Alexandre Julliard <julliard () winehq ! org>
Date:       2004-05-27 21:20:37
Message-ID: 87brk9d0t6.fsf () mail ! wine ! dyndns ! org
[Download RAW message or body]

Dmitry Timoshkov <dmitry@baikal.ru> writes:

> SetWindowPos(SWP_FRAMECHANGED) causes the whole nonclient window area
> to be repainted.
>
> Also, according to the tests Windows always repaints windows before
> SetWindowPos has finished.
>
> This patch reduces number of message test failures from 56 to 47.

The message order is wrong because we rely on X expose events to
repaint the window. This is one of the reasons we need to go back to
not using X windows for every window; but until that is done, your fix
is going to cause every window to be repainted twice.

-- 
Alexandre Julliard
julliard@winehq.org

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic