Commit 84fd7de0 authored by Alexandre Julliard's avatar Alexandre Julliard

server: Don't trigger repaints on position changes for layered windows.

parent 0682355a
......@@ -2136,6 +2136,9 @@ DECL_HANDLER(set_window_pos)
if (previous == win) flags |= SWP_NOZORDER; /* nothing to do */
}
/* windows that use UpdateLayeredWindow don't trigger repaints */
if ((win->ex_style & WS_EX_LAYERED) && !win->is_layered) flags |= SWP_NOREDRAW;
/* window rectangle must be ordered properly */
if (req->window.right < req->window.left || req->window.bottom < req->window.top)
{
......
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