Enable accelerated composition in frameless window.
This commit is contained in:
parent
dd6f8669a1
commit
e150a3e3b2
2 changed files with 1 additions and 5 deletions
|
@ -78,7 +78,7 @@
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<h2>Welcome to Atom Shell</h2>
|
<h2 style="-webkit-app-region: drag">Welcome to Atom Shell</h2>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
To run your app with atom-shell, execute the following command under your
|
To run your app with atom-shell, execute the following command under your
|
||||||
|
|
|
@ -329,10 +329,6 @@ void NativeWindow::AppendExtraCommandLineSwitches(
|
||||||
}
|
}
|
||||||
|
|
||||||
void NativeWindow::OverrideWebkitPrefs(const GURL& url, WebPreferences* prefs) {
|
void NativeWindow::OverrideWebkitPrefs(const GURL& url, WebPreferences* prefs) {
|
||||||
// FIXME Disable accelerated composition in frameless window.
|
|
||||||
if (!has_frame_)
|
|
||||||
prefs->accelerated_compositing_enabled = false;
|
|
||||||
|
|
||||||
bool b;
|
bool b;
|
||||||
std::vector<base::FilePath> list;
|
std::vector<base::FilePath> list;
|
||||||
if (!web_preferences_)
|
if (!web_preferences_)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue