diff options
author | Mark Tiefenbruck <mark@fluxbox.org> | 2008-08-26 13:59:01 (GMT) |
---|---|---|
committer | Mark Tiefenbruck <mark@fluxbox.org> | 2008-08-26 13:59:01 (GMT) |
commit | 08c8c6431f88ff3d5012d800a8df689b7028fe98 (patch) | |
tree | dd5b1b43081f42b3e1f04d94c213e9e48f4772bd /util/fluxbox-update_configs.cc | |
parent | 7d2240e2ced51fc30b890df299b616471cabee20 (diff) | |
download | fluxbox-08c8c6431f88ff3d5012d800a8df689b7028fe98.zip fluxbox-08c8c6431f88ff3d5012d800a8df689b7028fe98.tar.bz2 |
use old focus/raise behavior for default alt+left/right mouse bindings
Diffstat (limited to 'util/fluxbox-update_configs.cc')
-rw-r--r-- | util/fluxbox-update_configs.cc | 14 |
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 |