aboutsummaryrefslogtreecommitdiff
path: root/src/Keys.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/Keys.cc')
-rw-r--r--src/Keys.cc10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/Keys.cc b/src/Keys.cc
index 277dbe6..c050fd6 100644
--- a/src/Keys.cc
+++ b/src/Keys.cc
@@ -352,6 +352,10 @@ void Keys::loadDefaults() {
352 addBinding("OnDesktop Mouse2 :WorkspaceMenu"); 352 addBinding("OnDesktop Mouse2 :WorkspaceMenu");
353 addBinding("OnDesktop Mouse3 :RootMenu"); 353 addBinding("OnDesktop Mouse3 :RootMenu");
354 addBinding("OnTitlebar Mouse3 :WindowMenu"); 354 addBinding("OnTitlebar Mouse3 :WindowMenu");
355 addBinding("OnTitlebar Move1 :StartMoving");
356 addBinding("OnLeftGrip Move1 :StartResizing bottomleft");
357 addBinding("OnRighttGrip Move1 :StartResizing bottomright");
358 addBinding("OnWindowBorder Move1 :StartMoving");
355 addBinding("Mod1 Tab :NextWindow"); 359 addBinding("Mod1 Tab :NextWindow");
356 addBinding("Mod1 Shift Tab :PrevWindow"); 360 addBinding("Mod1 Shift Tab :PrevWindow");
357 keyMode("default"); 361 keyMode("default");
@@ -402,6 +406,12 @@ bool Keys::addBinding(const string &linebuffer) {
402 context |= ON_WINDOW; 406 context |= ON_WINDOW;
403 else if (arg == "ontitlebar") 407 else if (arg == "ontitlebar")
404 context |= ON_TITLEBAR; 408 context |= ON_TITLEBAR;
409 else if (arg == "onwindowborder")
410 context |= ON_WINDOWBORDER;
411 else if (arg == "onleftgrip")
412 context |= ON_LEFTGRIP;
413 else if (arg == "onrightgrip")
414 context |= ON_RIGHTGRIP;
405 else if (arg == "double") 415 else if (arg == "double")
406 isdouble = true; 416 isdouble = true;
407 else if (arg != "none") { 417 else if (arg != "none") {