From 098af442d271f99661940bd7f4fcb116feae9558 Mon Sep 17 00:00:00 2001 From: Wliu <50Wliu@users.noreply.github.com> Date: Thu, 14 Apr 2016 20:22:22 -0400 Subject: [PATCH] page-visibility -> backgroundThrottling --- src/browser/atom-window.coffee | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/browser/atom-window.coffee b/src/browser/atom-window.coffee index d490e1318..7019033da 100644 --- a/src/browser/atom-window.coffee +++ b/src/browser/atom-window.coffee @@ -25,10 +25,10 @@ class AtomWindow show: false title: 'Atom' webPreferences: - 'direct-write': true + directWrite: true if @isSpec - options.webPreferences['page-visibility'] = true + options.webPreferences.backgroundThrottling = false # 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.