win: Fix window frame on detached window.
This commit is contained in:
parent
cf1009ab30
commit
9d4e977c01
1 changed files with 4 additions and 0 deletions
|
@ -140,7 +140,11 @@ void InspectableWebContentsViewViews::SetIsDocked(bool docked) {
|
||||||
devtools_window_web_view_,
|
devtools_window_web_view_,
|
||||||
devtools_window_.get());
|
devtools_window_.get());
|
||||||
params.top_level = true;
|
params.top_level = true;
|
||||||
|
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;
|
params.remove_standard_frame = true;
|
||||||
|
#endif
|
||||||
devtools_window_->Init(params);
|
devtools_window_->Init(params);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue