summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
Diffstat (limited to 'util')
-rw-r--r--util/fluxbox-update_configs.cc14
1 files changed, 7 insertions, 7 deletions
diff --git a/util/fluxbox-update_configs.cc b/util/fluxbox-update_configs.cc
index 0528119..2bb80c3 100644
--- a/util/fluxbox-update_configs.cc
+++ b/util/fluxbox-update_configs.cc
@@ -199,16 +199,16 @@ int run_updates(int old_version, FbTk::ResourceManager &rm) {
199 "session.modKey", 199 "session.modKey",
200 "Session.ModKey"); 200 "Session.ModKey");
201 201
202 new_keyfile += "OnWindow " + *rc_modkey + " Mouse1 :StartMoving\n"; 202 new_keyfile += "OnWindow " + *rc_modkey +
203 " Mouse1 :MacroCmd {Raise} {Focus} {StartMoving}\n";
204 new_keyfile += "OnWindow " + *rc_modkey +
205 " Mouse3 :MacroCmd {Raise} {Focus} {StartResizing ";
203 if (strcasecmp((*rc_mode).c_str(), "Quadrant") == 0) { 206 if (strcasecmp((*rc_mode).c_str(), "Quadrant") == 0) {
204 new_keyfile += "OnWindow " + *rc_modkey + 207 new_keyfile += "NearestCorner}\n";
205 " Mouse3 :StartResizing NearestCorner\n";
206 } else if (strcasecmp((*rc_mode).c_str(), "Center") == 0) { 208 } else if (strcasecmp((*rc_mode).c_str(), "Center") == 0) {
207 new_keyfile += "OnWindow " + *rc_modkey + 209 new_keyfile += "Center}\n";
208 " Mouse3 :StartResizing Center\n";
209 } else { 210 } else {
210 new_keyfile += "OnWindow " + *rc_modkey + 211 new_keyfile += "BottomRight}\n";
211 " Mouse3 :StartResizing BottomRight\n";
212 } 212 }
213 new_keyfile += "\n"; // just for good looks 213 new_keyfile += "\n"; // just for good looks
214 new_keyfile += whole_keyfile; // don't forget user's old keybindings 214 new_keyfile += whole_keyfile; // don't forget user's old keybindings