summarylogtreecommitdiffstats
path: root/menu-bar.patch
diff options
context:
space:
mode:
authorSibren Vasse2020-09-17 10:12:17 +0200
committerSibren Vasse2020-09-17 10:12:45 +0200
commit16130a6803f07db5d19b25e7386925bf0c2795d0 (patch)
tree166eca4fca7cbf43bfdc8323a0e30ee7095c827f /menu-bar.patch
parent36153a1ba3575b5b7886db95413f383e5573a60b (diff)
downloadaur-16130a6803f07db5d19b25e7386925bf0c2795d0.tar.gz
Show menu bar when Alt is pressed
Diffstat (limited to 'menu-bar.patch')
-rw-r--r--menu-bar.patch5
1 files changed, 2 insertions, 3 deletions
diff --git a/menu-bar.patch b/menu-bar.patch
index 4cf201b4025c..50d7b51735d4 100644
--- a/menu-bar.patch
+++ b/menu-bar.patch
@@ -1,11 +1,10 @@
-diff --git a/build/main.js b/build/main.js
-index a229f52..0f1955b 100644
--- a/build/main.js
+++ b/build/main.js
-@@ -4580,6 +4580,7 @@ module.exports = (function(modules) {
+@@ -4541,6 +4541,8 @@
.setAutoResize({ width: !0, height: !0 }))
: this.appService.setWindow(this.window, void 0),
this.appService.setUserAgent(),
++ this.window.setAutoHideMenuBar(true),
+ this.window.setMenuBarVisibility(false),
isPlatform(PLATFORM_DARWIN)
? this.window.on("moved", () => {