From 51f054e7778aa49f72436d9b489ef60c58401cc3 Mon Sep 17 00:00:00 2001 From: Mathias Gumz Date: Sat, 11 Sep 2010 21:53:55 +0200 Subject: added '(workspace=[current])' to our default keys commit 882a50fe1d4930b156965c54d9b66ecb27b4c9b2 removed the hardcoded limit to cycle to windows on other workspaces, though it was and IS a good default behaviour. if users do not want this (they want to cycle to windows on other workspaces), they should explicitly avoid '(workspace=[current])' in their keysfile. --- data/keys | 4 ++-- src/Keys.cc | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/data/keys b/data/keys index 7e2557c..0567d04 100644 --- a/data/keys +++ b/data/keys @@ -39,8 +39,8 @@ OnTitlebar Mouse2 :Lower OnTitlebar Mouse3 :WindowMenu # alt-tab -Mod1 Tab :NextWindow {groups} -Mod1 Shift Tab :PrevWindow {groups} +Mod1 Tab :NextWindow {groups} (workspace=[current]) +Mod1 Shift Tab :PrevWindow {groups} (workspace=[current]) # cycle through tabs in the current window Mod4 Tab :NextTab diff --git a/src/Keys.cc b/src/Keys.cc index d3d0ea2..d3b82e9 100644 --- a/src/Keys.cc +++ b/src/Keys.cc @@ -360,8 +360,8 @@ void Keys::loadDefaults() { addBinding("OnLeftGrip Move1 :StartResizing bottomleft"); addBinding("OnRightGrip Move1 :StartResizing bottomright"); addBinding("OnWindowBorder Move1 :StartMoving"); - addBinding("Mod1 Tab :NextWindow"); - addBinding("Mod1 Shift Tab :PrevWindow"); + addBinding("Mod1 Tab :NextWindow (workspace=[current])"); + addBinding("Mod1 Shift Tab :PrevWindow (workspace=[current])"); keyMode("default"); } -- cgit v0.11.2