From d9004769e0574bc7e3576eb2eb4a79944bc42860 Mon Sep 17 00:00:00 2001 From: Antonio Scandurra Date: Fri, 31 Mar 2017 13:50:29 +0200 Subject: [PATCH] Disable auxclick --- src/main-process/atom-window.coffee | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/main-process/atom-window.coffee b/src/main-process/atom-window.coffee index 518fd63e8..4ccdb92a1 100644 --- a/src/main-process/atom-window.coffee +++ b/src/main-process/atom-window.coffee @@ -32,6 +32,10 @@ class AtomWindow # local development experience when running specs through the UI (which # now won't pause when e.g. minimizing the window). backgroundThrottling: not @isSpec + # Disable the `auxclick` feature so that `click` events are triggered in + # response to a middle-click. + # (Ref: https://github.com/atom/atom/pull/12696#issuecomment-290496960) + disableBlinkFeatures: 'Auxclick' # Don't set icon on Windows so the exe's ico will be used as window and # taskbar's icon. See https://github.com/atom/atom/issues/4811 for more.