fixed the default 'OnTitlebar Mouse1' actions
Mathias Gumz akira at fluxbox dot org
3 files changed,
4 insertions(+),
4 deletions(-)
M
data/keys
→
data/keys
@@ -29,7 +29,7 @@ # double click on the titlebar to shade
OnTitlebar Double Mouse1 :Shade # left click on the titlebar to move the window -OnTitlebar Mouse1 :MacroCmd {ActivateTab} {Raise} {Focus} +OnTitlebar Mouse1 :MacroCmd {Raise} {Focus} {ActivateTab} OnTitlebar Move1 :StartMoving # middle click on the titlebar to lower
M
src/Keys.cc
→
src/Keys.cc
@@ -354,8 +354,8 @@ addBinding("OnDesktop Mouse1 :HideMenus");
addBinding("OnDesktop Mouse2 :WorkspaceMenu"); addBinding("OnDesktop Mouse3 :RootMenu"); addBinding("OnTitlebar Mouse3 :WindowMenu"); - addBinding("OnWindow Mouse1 :MacroCmd {Raise} {Focus} {StartMoving}"); - addBinding("OnTitlebar Mouse1 :MacroCmd {ActivateTab} {Raise} {Focus}"); + addBinding("OnWindow Mouse1 :MacroCmd {Focus} {Raise} {StartMoving}"); + addBinding("OnTitlebar Mouse1 :MacroCmd {Focus} {Raise} {ActivateTab}"); addBinding("OnTitlebar Move1 :StartMoving"); addBinding("OnLeftGrip Move1 :StartResizing bottomleft"); addBinding("OnRightGrip Move1 :StartResizing bottomright");
M
util/fluxbox-update_configs.cc
→
util/fluxbox-update_configs.cc
@@ -403,7 +403,7 @@ string whole_file = read_file(keyfilename);
string new_keyfile = ""; new_keyfile += "!mouse actions added by fluxbox-update_configs\n"; - new_keyfile += "OnTitlebar Mouse1 :MacroCmd {ActivateTab} {Raise} {Focus}\n"; + new_keyfile += "OnTitlebar Mouse1 :MacroCmd {Focus} {Raise} {ActivateTab}\n"; new_keyfile += whole_file; new_keyfile += "\n"; // just for good looks