devilhorns pushed a commit to branch master.

http://git.enlightenment.org/apps/express.git/commit/?id=6e3461f5e0bf093315c205321fb62f3e6f62c9cd

commit 6e3461f5e0bf093315c205321fb62f3e6f62c9cd
Author: Christopher Michael <devilho...@comcast.net>
Date:   Wed Jan 27 10:23:47 2021 -0500

    express: Don't update window on every config change
    
    Changing a single letter in the Network options entry boxes would
    always cause the window to update ... this is silly. Defer updating
    window until config is done.
---
 src/bin/config.c | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/src/bin/config.c b/src/bin/config.c
index 2c2df84..257baa4 100644
--- a/src/bin/config.c
+++ b/src/bin/config.c
@@ -301,9 +301,5 @@ _config_load(void)
 void 
 _config_save(void)
 {
-   if (_config_domain_save(PACKAGE_NAME, _ex_cfg_edd, _ex_cfg))
-     {
-        /* update window, channels, etc */
-        _window_update();
-     }
+   _config_domain_save(PACKAGE_NAME, _ex_cfg_edd, _ex_cfg);
 }

-- 


Reply via email to