all repos — fluxbox @ 1e9dafdc67e1f67b5d360dcb0f7b276c38cbc46c

custom fork of the fluxbox windowmanager

fixed the default 'OnTitlebar Mouse1' actions
Mathias Gumz akira at fluxbox dot org
commit

1e9dafdc67e1f67b5d360dcb0f7b276c38cbc46c

parent

b8987fc6238a747285b3aeac6f3b206a74e0d36a

3 files changed, 4 insertions(+), 4 deletions(-)

jump to
M data/keysdata/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.ccsrc/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.ccutil/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