aboutsummaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
Diffstat (limited to 'util')
-rw-r--r--util/fluxbox-update_configs.cc6
1 files changed, 4 insertions, 2 deletions
diff --git a/util/fluxbox-update_configs.cc b/util/fluxbox-update_configs.cc
index 14f7184..047b0bc 100644
--- a/util/fluxbox-update_configs.cc
+++ b/util/fluxbox-update_configs.cc
@@ -406,9 +406,10 @@ void update_keys_for_ongrip_onwindowborder(std::auto_ptr<FbTk::ResourceManager_b
406 new_keyfile += "OnLeftGrip Move1 :StartResizing bottomleft\n"; 406 new_keyfile += "OnLeftGrip Move1 :StartResizing bottomleft\n";
407 new_keyfile += "OnRightGrip Move1 :StartResizing bottomright\n"; 407 new_keyfile += "OnRightGrip Move1 :StartResizing bottomright\n";
408 new_keyfile += "OnWindowBorder Move1 :StartMoving\n\n"; 408 new_keyfile += "OnWindowBorder Move1 :StartMoving\n\n";
409 new_keyfile += whole_keyfile; // don't forget user's old keybindings
410 409
411 new_keyfile += "\n"; // just for good looks 410 new_keyfile += "\n"; // just for good looks
411 new_keyfile += whole_keyfile; // don't forget user's old keybindings
412
412 write_file(keyfilename, new_keyfile); 413 write_file(keyfilename, new_keyfile);
413} 414}
414 415
@@ -423,9 +424,10 @@ void update_keys_for_activetab(std::auto_ptr<FbTk::ResourceManager_base>& rm, Fb
423 424
424 new_keyfile += "!mouse actions added by fluxbox-update_configs\n"; 425 new_keyfile += "!mouse actions added by fluxbox-update_configs\n";
425 new_keyfile += "OnTitlebar Mouse1 :MacroCmd {Focus} {Raise} {ActivateTab}\n"; 426 new_keyfile += "OnTitlebar Mouse1 :MacroCmd {Focus} {Raise} {ActivateTab}\n";
426 new_keyfile += whole_file;
427 427
428 new_keyfile += "\n"; // just for good looks 428 new_keyfile += "\n"; // just for good looks
429 new_keyfile += whole_file;
430
429 write_file(keyfilename, new_keyfile); 431 write_file(keyfilename, new_keyfile);
430 432
431} 433}