Skip to content

Commit

Permalink
Merge pull request #11710 from brenca/fix-10678-1-8-x
Browse files Browse the repository at this point in the history
Remove WS_EX_COMPOSITED style from window (1-8-x)
  • Loading branch information
zcbenz committed Jan 24, 2018
2 parents 7659c16 + daf6dd9 commit 08f36c1
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions atom/browser/native_window_views.cc
Expand Up @@ -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);
Expand Down

0 comments on commit 08f36c1

Please sign in to comment.