aboutsummaryrefslogtreecommitdiff
path: root/util/fluxbox-update_configs.cc
diff options
context:
space:
mode:
Diffstat (limited to 'util/fluxbox-update_configs.cc')
-rw-r--r--util/fluxbox-update_configs.cc13
1 files changed, 13 insertions, 0 deletions
diff --git a/util/fluxbox-update_configs.cc b/util/fluxbox-update_configs.cc
index 921530a..75be474 100644
--- a/util/fluxbox-update_configs.cc
+++ b/util/fluxbox-update_configs.cc
@@ -275,6 +275,19 @@ int run_updates(int old_version, FbTk::ResourceManager &rm) {
275 new_version = 6; 275 new_version = 6;
276 } 276 }
277 277
278 if (old_version < 7) { // added StartTabbing command
279 string whole_keyfile = read_file(keyfilename);
280 string new_keyfile = "";
281 // let's put our new keybindings first, so they're easy to find
282 new_keyfile += "# start tabbing windows together\n";
283 new_keyfile += "OnTitlebar Mouse2 :StartTabbing\n\n";
284 new_keyfile += whole_keyfile; // don't forget user's old keybindings
285
286 write_file(keyfilename, new_keyfile);
287
288 new_version = 7;
289 }
290
278 return new_version; 291 return new_version;
279} 292}
280 293