aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--data/keys4
-rw-r--r--util/fluxbox-update_configs.cc14
2 files changed, 9 insertions, 9 deletions
diff --git a/data/keys b/data/keys
index f2de94a..2652e93 100644
--- a/data/keys
+++ b/data/keys
@@ -12,8 +12,8 @@ OnToolbar Mouse4 :PrevWorkspace
12OnToolbar Mouse5 :NextWorkspace 12OnToolbar Mouse5 :NextWorkspace
13 13
14# alt + left/right click to move/resize a window 14# alt + left/right click to move/resize a window
15OnWindow Mod1 Mouse1 :StartMoving 15OnWindow Mod1 Mouse1 :MacroCmd {Raise} {Focus} {StartMoving}
16OnWindow Mod1 Mouse3 :StartResizing NearestCorner 16OnWindow Mod1 Mouse3 :MacroCmd {Raise} {Focus} {StartResizing NearestCorner}
17 17
18# middle click a window's titlebar and drag to attach windows 18# middle click a window's titlebar and drag to attach windows
19OnTitlebar Mouse2 :StartTabbing 19OnTitlebar Mouse2 :StartTabbing
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