summaryrefslogtreecommitdiff
path: root/editors/atom/files/patch-src_window-event-handler.js
diff options
context:
space:
mode:
Diffstat (limited to 'editors/atom/files/patch-src_window-event-handler.js')
-rw-r--r--editors/atom/files/patch-src_window-event-handler.js11
1 files changed, 11 insertions, 0 deletions
diff --git a/editors/atom/files/patch-src_window-event-handler.js b/editors/atom/files/patch-src_window-event-handler.js
new file mode 100644
index 000000000000..a7e5cde400ad
--- /dev/null
+++ b/editors/atom/files/patch-src_window-event-handler.js
@@ -0,0 +1,11 @@
+--- src/window-event-handler.js.orig 2019-10-21 17:33:40 UTC
++++ src/window-event-handler.js
+@@ -44,7 +44,7 @@ module.exports = class WindowEventHandler {
+ })
+ );
+
+- if (['win32', 'linux'].includes(process.platform)) {
++ if (['win32', 'linux', 'freebsd'].includes(process.platform)) {
+ this.subscriptions.add(
+ this.atomEnvironment.commands.add(this.window, {
+ 'window:toggle-menu-bar': this.handleWindowToggleMenuBar