Remove WS_EX_COMPOSITED style from window

This commit is contained in:
Heilig Benedek 2018-01-23 20:14:34 +01:00
parent 39554566cc
commit 50690d25f1

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);