all repos — fluxbox @ 08c8c6431f88ff3d5012d800a8df689b7028fe98

custom fork of the fluxbox windowmanager

use old focus/raise behavior for default alt+left/right mouse bindings
Mark Tiefenbruck mark@fluxbox.org
commit

08c8c6431f88ff3d5012d800a8df689b7028fe98

parent

7d2240e2ced51fc30b890df299b616471cabee20

2 files changed, 9 insertions(+), 9 deletions(-)

jump to
M data/keysdata/keys

@@ -12,8 +12,8 @@ OnToolbar Mouse4 :PrevWorkspace

OnToolbar Mouse5 :NextWorkspace # alt + left/right click to move/resize a window -OnWindow Mod1 Mouse1 :StartMoving -OnWindow Mod1 Mouse3 :StartResizing NearestCorner +OnWindow Mod1 Mouse1 :MacroCmd {Raise} {Focus} {StartMoving} +OnWindow Mod1 Mouse3 :MacroCmd {Raise} {Focus} {StartResizing NearestCorner} # middle click a window's titlebar and drag to attach windows OnTitlebar Mouse2 :StartTabbing
M util/fluxbox-update_configs.ccutil/fluxbox-update_configs.cc

@@ -199,16 +199,16 @@ FbTk::Resource<string> rc_modkey(rm, "Mod1",

"session.modKey", "Session.ModKey"); - new_keyfile += "OnWindow " + *rc_modkey + " Mouse1 :StartMoving\n"; + new_keyfile += "OnWindow " + *rc_modkey + + " Mouse1 :MacroCmd {Raise} {Focus} {StartMoving}\n"; + new_keyfile += "OnWindow " + *rc_modkey + + " Mouse3 :MacroCmd {Raise} {Focus} {StartResizing "; if (strcasecmp((*rc_mode).c_str(), "Quadrant") == 0) { - new_keyfile += "OnWindow " + *rc_modkey + - " Mouse3 :StartResizing NearestCorner\n"; + new_keyfile += "NearestCorner}\n"; } else if (strcasecmp((*rc_mode).c_str(), "Center") == 0) { - new_keyfile += "OnWindow " + *rc_modkey + - " Mouse3 :StartResizing Center\n"; + new_keyfile += "Center}\n"; } else { - new_keyfile += "OnWindow " + *rc_modkey + - " Mouse3 :StartResizing BottomRight\n"; + new_keyfile += "BottomRight}\n"; } new_keyfile += "\n"; // just for good looks new_keyfile += whole_keyfile; // don't forget user's old keybindings