diff --git a/wx-src/background.js b/wx-src/background.js index 07a6fe9f..ed237396 100644 --- a/wx-src/background.js +++ b/wx-src/background.js @@ -395,7 +395,7 @@ async function init(aPrefs) log("Clippings/wx: OS: " + platform.os); if (platform.os == "linux" && aPrefs.clippingsMgrMinzWhenInactv === null) { - await aePrefs.setPrefs({clippingsMgrMinzWhenInactv: true}); + await aePrefs.setPrefs({clippingsMgrMinzWhenInactv: false}); } if (aPrefs.autoAdjustWndPos === null) { diff --git a/wx-src/scripts/aePrefs.js b/wx-src/scripts/aePrefs.js index f1b15ba5..25333093 100644 --- a/wx-src/scripts/aePrefs.js +++ b/wx-src/scripts/aePrefs.js @@ -5,8 +5,8 @@ let aePrefs = { + // Background script state persistence _defaultBkgdState: { - // Background script state persistence _clippingMenuItemIDMap: {}, _folderMenuItemIDMap: {}, _autoIncrPlchldrs: [], @@ -21,8 +21,8 @@ let aePrefs = { }, }, + // User preferences and customizations _defaultPrefs: { - // User preferences and customizations showWelcome: true, htmlPaste: aeConst.HTMLPASTE_AS_FORMATTED, autoLineBreak: true, @@ -276,6 +276,11 @@ let aePrefs = { // Remove deprecated prefs delete aPrefs.tabModalMsgBox; + + // Change default setting of Linux-specific pref. + if (aPrefs.clippingsMgrMinzWhenInactv) { + aPrefs.clippingsMgrMinzWhenInactv = false; + } },