From 50690d25f16193ee748be273e948f605726dd4f9 Mon Sep 17 00:00:00 2001 From: Heilig Benedek Date: Tue, 23 Jan 2018 20:14:34 +0100 Subject: [PATCH] Remove WS_EX_COMPOSITED style from window --- atom/browser/native_window_views.cc | 3 --- 1 file changed, 3 deletions(-) diff --git a/atom/browser/native_window_views.cc b/atom/browser/native_window_views.cc index 4b1bcbaca74e..008109970ec8 100644 --- a/atom/browser/native_window_views.cc +++ b/atom/browser/native_window_views.cc @@ -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);