From 68bf9796e8d371d5824b2bd04a07db22d97b35e6 Mon Sep 17 00:00:00 2001 From: Mark Tiefenbruck Date: Tue, 9 Sep 2008 22:10:19 -0400 Subject: [PATCH] fix updating of keys file for scrolling on toolbar --- util/fluxbox-update_configs.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/fluxbox-update_configs.cc b/util/fluxbox-update_configs.cc index 2bb80c3d..43dd1f22 100644 --- a/util/fluxbox-update_configs.cc +++ b/util/fluxbox-update_configs.cc @@ -167,7 +167,7 @@ int run_updates(int old_version, FbTk::ResourceManager &rm) { "session.screen0.reversewheeling", "Session.Screen0.ReverseWheeling"); if (strcasecmp((*rc_wheeling).c_str(), "On") == 0 || - (strcasecmp((*rc_wheeling).c_str(), "Screen") && *rc_screen)) { + (strcasecmp((*rc_wheeling).c_str(), "Screen") == 0 && *rc_screen)) { keep_changes = true; if (*rc_reverse) { // if you ask me, this should have been default new_keyfile += "OnToolbar Mouse4 :PrevWorkspace\n";