user32: Also call set_window_pos when the WS_EX_LAYERED bit is changed.
This commit is contained in:
parent
1d78f43000
commit
61f9789c31
|
@ -2472,9 +2472,10 @@ LONG_PTR WIN_SetWindowLong( HWND hwnd, INT offset, UINT size, LONG_PTR newval, B
|
|||
}
|
||||
SERVER_END_REQ;
|
||||
|
||||
if (offset == GWL_STYLE && ((style.styleOld ^ style.styleNew) & WS_VISIBLE))
|
||||
if ((offset == GWL_STYLE && ((style.styleOld ^ style.styleNew) & WS_VISIBLE)) ||
|
||||
(offset == GWL_EXSTYLE && ((style.styleOld ^ style.styleNew) & WS_EX_LAYERED)))
|
||||
{
|
||||
needs_show = !(wndPtr->flags & WIN_HIDDEN) && (style.styleNew & WS_VISIBLE);
|
||||
needs_show = !(wndPtr->flags & WIN_HIDDEN) && (wndPtr->dwStyle & WS_VISIBLE);
|
||||
invalidate_dce( wndPtr, NULL );
|
||||
}
|
||||
WIN_ReleasePtr( wndPtr );
|
||||
|
|
Loading…
Reference in New Issue