diff options
author | Sibren Vasse | 2019-08-17 18:38:10 +0200 |
---|---|---|
committer | Sibren Vasse | 2019-08-17 18:38:55 +0200 |
commit | cc60ab9fcc4ee5796624dc8d9f6d28b960eaf821 (patch) | |
tree | 5395fef659c808639aeafacfe6fd38011bdf481e /menu-bar.patch | |
parent | 294888c1b4ef896a1a5da7a339a3f036eee28313 (diff) | |
download | aur-cc60ab9fcc4ee5796624dc8d9f6d28b960eaf821.tar.gz |
Change menu bar patch to enable title bar
Diffstat (limited to 'menu-bar.patch')
-rw-r--r-- | menu-bar.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/menu-bar.patch b/menu-bar.patch new file mode 100644 index 000000000000..0685b80bddf0 --- /dev/null +++ b/menu-bar.patch @@ -0,0 +1,12 @@ +diff --git a/app/js/main/App/index.js b/app/js/main/App/index.js +index 94631c5..3d69857 100644 +--- a/app/js/main/App/index.js ++++ b/app/js/main/App/index.js +@@ -274,6 +274,7 @@ var App = (function() { + this._adjustViewToContentSize(), + this.mainView.setAutoResize({ width: !0, height: !0 })), + (this.originalUserAgent = this.getWebContents().getUserAgent()), ++ this.window.setMenuBarVisibility(false), + this.getWebContents().setUserAgent( + "Deezer/" + + this.app.getVersion() + |