aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMathias Gumz <akira at fluxbox dot org>2010-09-04 12:41:11 (GMT)
committerMathias Gumz <akira at fluxbox dot org>2010-09-04 12:41:11 (GMT)
commit1e9dafdc67e1f67b5d360dcb0f7b276c38cbc46c (patch)
treece27db7301500d7c64232e95f9853d5452fdb0d5
parentb8987fc6238a747285b3aeac6f3b206a74e0d36a (diff)
downloadfluxbox_pavel-1e9dafdc67e1f67b5d360dcb0f7b276c38cbc46c.zip
fluxbox_pavel-1e9dafdc67e1f67b5d360dcb0f7b276c38cbc46c.tar.bz2
fixed the default 'OnTitlebar Mouse1' actions
-rw-r--r--data/keys2
-rw-r--r--src/Keys.cc4
-rw-r--r--util/fluxbox-update_configs.cc2
3 files changed, 4 insertions, 4 deletions
diff --git a/data/keys b/data/keys
index 3bfca00..7e2557c 100644
--- a/data/keys
+++ b/data/keys
@@ -29,7 +29,7 @@ OnTitlebar Control Mouse1 :StartTabbing
29OnTitlebar Double Mouse1 :Shade 29OnTitlebar Double Mouse1 :Shade
30 30
31# left click on the titlebar to move the window 31# left click on the titlebar to move the window
32OnTitlebar Mouse1 :MacroCmd {ActivateTab} {Raise} {Focus} 32OnTitlebar Mouse1 :MacroCmd {Raise} {Focus} {ActivateTab}
33OnTitlebar Move1 :StartMoving 33OnTitlebar Move1 :StartMoving
34 34
35# middle click on the titlebar to lower 35# middle click on the titlebar to lower
diff --git a/src/Keys.cc b/src/Keys.cc
index 7cd77eb..d3d0ea2 100644
--- a/src/Keys.cc
+++ b/src/Keys.cc
@@ -354,8 +354,8 @@ void Keys::loadDefaults() {
354 addBinding("OnDesktop Mouse2 :WorkspaceMenu"); 354 addBinding("OnDesktop Mouse2 :WorkspaceMenu");
355 addBinding("OnDesktop Mouse3 :RootMenu"); 355 addBinding("OnDesktop Mouse3 :RootMenu");
356 addBinding("OnTitlebar Mouse3 :WindowMenu"); 356 addBinding("OnTitlebar Mouse3 :WindowMenu");
357 addBinding("OnWindow Mouse1 :MacroCmd {Raise} {Focus} {StartMoving}"); 357 addBinding("OnWindow Mouse1 :MacroCmd {Focus} {Raise} {StartMoving}");
358 addBinding("OnTitlebar Mouse1 :MacroCmd {ActivateTab} {Raise} {Focus}"); 358 addBinding("OnTitlebar Mouse1 :MacroCmd {Focus} {Raise} {ActivateTab}");
359 addBinding("OnTitlebar Move1 :StartMoving"); 359 addBinding("OnTitlebar Move1 :StartMoving");
360 addBinding("OnLeftGrip Move1 :StartResizing bottomleft"); 360 addBinding("OnLeftGrip Move1 :StartResizing bottomleft");
361 addBinding("OnRightGrip Move1 :StartResizing bottomright"); 361 addBinding("OnRightGrip Move1 :StartResizing bottomright");
diff --git a/util/fluxbox-update_configs.cc b/util/fluxbox-update_configs.cc
index 129833c..fd18cfd 100644
--- a/util/fluxbox-update_configs.cc
+++ b/util/fluxbox-update_configs.cc
@@ -403,7 +403,7 @@ int run_updates(int old_version, FbTk::ResourceManager &rm) {
403 string new_keyfile = ""; 403 string new_keyfile = "";
404 404
405 new_keyfile += "!mouse actions added by fluxbox-update_configs\n"; 405 new_keyfile += "!mouse actions added by fluxbox-update_configs\n";
406 new_keyfile += "OnTitlebar Mouse1 :MacroCmd {ActivateTab} {Raise} {Focus}\n"; 406 new_keyfile += "OnTitlebar Mouse1 :MacroCmd {Focus} {Raise} {ActivateTab}\n";
407 new_keyfile += whole_file; 407 new_keyfile += whole_file;
408 408
409 new_keyfile += "\n"; // just for good looks 409 new_keyfile += "\n"; // just for good looks