linux: Use native window frame for devtools

Fixes atom/atom-shell#646.
This commit is contained in:
Cheng Zhao 2014-11-06 19:06:32 +08:00
parent c4aebe3ba1
commit 601ee75bcf

View file

@ -147,10 +147,6 @@ void InspectableWebContentsViewViews::SetIsDocked(bool docked) {
devtools_window_web_view_,
devtools_window_.get());
params.bounds = inspectable_web_contents()->GetDevToolsBounds();
#if defined(USE_X11)
// In X11 the window frame is drawn by the application.
params.remove_standard_frame = true;
#endif
devtools_window_->Init(params);
devtools_window_->UpdateWindowIcon();
}