Commit 63b1d175 authored by Gerard Patel's avatar Gerard Patel Committed by Alexandre Julliard

Take message filters into account for WM_PAINT too.

parent eaafb73c
......@@ -695,7 +695,8 @@ DECL_HANDLER(get_message)
}
/* now check for WM_PAINT */
if (queue->wake_bits & QS_PAINT)
if ((queue->wake_bits & QS_PAINT) &&
(WM_PAINT >= req->get_first) && (WM_PAINT <= req->get_last))
{
req->type = 0;
req->win = 0;
......
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