Merge pull request #11704 from brenca/fix-10678

Remove WS_EX_COMPOSITED style from window (master)
This commit is contained in:
Cheng Zhao 2018-01-24 14:44:52 +09:00 committed by GitHub
commit b9c0bab8f1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -302,9 +302,6 @@ NativeWindowViews::NativeWindowViews(
}
LONG ex_style = ::GetWindowLong(GetAcceleratedWidget(), GWL_EXSTYLE);
// Window without thick frame has to have WS_EX_COMPOSITED style.
if (!thick_frame_)
ex_style |= WS_EX_COMPOSITED;
if (window_type == "toolbar")
ex_style |= WS_EX_TOOLWINDOW;
::SetWindowLong(GetAcceleratedWidget(), GWL_EXSTYLE, ex_style);