fixed the default 'OnTitlebar Mouse1' actions

This commit is contained in:
Mathias Gumz 2010-09-04 14:41:11 +02:00
parent b8987fc623
commit 1e9dafdc67
3 changed files with 4 additions and 4 deletions

View file

@ -29,7 +29,7 @@ OnTitlebar Control Mouse1 :StartTabbing
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

View file

@ -354,8 +354,8 @@ void Keys::loadDefaults() {
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");

View file

@ -403,7 +403,7 @@ int run_updates(int old_version, FbTk::ResourceManager &rm) {
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