mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
Remove WS_EX_COMPOSITED style from window
This commit is contained in:
@@ -298,9 +298,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);
|
||||
|
||||
Reference in New Issue
Block a user