Fixed hide on startup preference (Francis Chin). (LP: #1642029).
authorJean-Philippe Orsini <jeanfi@gmail.com>
Sun, 12 Feb 2017 15:08:58 +0000 (16:08 +0100)
committerJean-Philippe Orsini <jeanfi@gmail.com>
Sun, 12 Feb 2017 15:08:58 +0000 (16:08 +0100)
NEWS
src/cfg.c

diff --git a/NEWS b/NEWS
index 1e9d4ae..69fae41 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -8,7 +8,8 @@ v1.2.1
   asciidoc.
 * added support of BCM2835 which is mostly used in the Raspberry PI3.
 * Fresh install of 1.2.0 complains about missing sensor config
-  keys. (LP :#1650378)
+  keys. (LP: #1650378)
+* Fixed hide on startup preference (Francis Chin). (LP: #1642029).
 
 v1.2.0
 ------
index 61e8b0c..d903478 100644 (file)
--- a/src/cfg.c
+++ b/src/cfg.c
@@ -445,6 +445,8 @@ struct config *config_load(void)
 
        c->window_divider_pos = get_int(KEY_INTERFACE_WINDOW_DIVIDER_POS);
 
+       c->hide_on_startup = get_bool(KEY_INTERFACE_HIDE_ON_STARTUP);
+
        if (!c->window_restore_enabled || !c->window_w || !c->window_h) {
                c->window_w = 800;
                c->window_h = 200;