]> Dogcows Code - chaz/openbox/blobdiff - data/rc3
add focusLast and focusLastOnDesktop options in the [focus] section of the rc3. allow...
[chaz/openbox] / data / rc3
index 6b35cb48202f41b58c2a90e8bf8c33d837e5630e..abd2766da9c16243c1a210574400fcaeb1312751 100644 (file)
--- a/data/rc3
+++ b/data/rc3
 # focus new windows when they appear
 #focusNew = yes
 
-# does focus follow the mouse pointer
-#followMouse = yes
+# does focus follow the mouse pointer when it enters a window
+#followMouse = no
+
+# when no windows are left with focus, focus the last window on the desktop
+# to previously have focus
+#focusLast = yes
+
+# a special case of focusLast that applies when switching between desktops; if
+# set, the previously focused window on the desktop is focused when switching
+#focusLastOnDesktop = yes
 
 [engine]
 
@@ -35,7 +43,7 @@
 # I - iconify button
 # M - maximize button
 # C - close button
-#titlebarLayout = "NDSLIMC"
+#titlebarLayout = "NLIMC"
 
 # the font for the window titlebars
 #font.title = "arial-8:bold"
@@ -83,6 +91,9 @@ kbind (A-F4)          Close
 
 kbind (W-D)            ToggleDecorations
 
+kbind (A-Tab)           NextWindowLinear
+kbind (S-A-Tab)         PreviousWindowLinear
+
 [mouse]
 
 # the distance a drag must go before it is recognized
@@ -140,77 +151,3 @@ mbind      Frame           Click           C-A-Up  SendToNextDesktopWrap
 mbind  Frame           Click           C-A-Down SendToPreviousDesktopWrap
 
 mbind  Root            Click           Left    execute "xterm"
-
-[foo]
-
-mbind Titlebar, Handle {
-       Left            press   Focus
-       Middle          press   Lower
-       Left            click   Raise
-       Right           click   Lower
-       Left            drag    Move
-}
-
-mbind Titlebar {
-       Up              press   Shade
-       Down            press   Unshade
-       Left            dclick  ToggleShade
-}
-
-mbind Frame {
-       A-Left          click   Raise
-       A-Left          drag    Move
-       A-Right         click   Lower
-       A-Right         drag    Resize
-       A-Up            click   NextDesktopWrap
-       A-Down          click   PreviousDesktopWrap
-       C-A-Up          click   SendToNextDesktopWrap
-       C-A-Down        click   SendToPreviousDesktopWrap
-}
-
-mbind BLCorner, BRCorner {
-       Left            press   Focus
-       Left            drag    Resize
-}
-
-mbind Client {
-       Left            press   Focus
-       Middle          press   Focus
-}
-
-mbind Root {
-       Left            click   execute "xterm"
-       Up              click   NextDesktopWrap
-       Down            click   PreviousDesktopWrap
-       A-Up            click   NextDesktopWrap
-       A-Down          click   PreviousDesktopWrap
-}
-
-mbind Maximize {
-       Left            click   ToggleMaximizeFull
-       Middle          click   ToggleMaximizeVert
-       Right           click   ToggleMaximizeHorz
-}
-
-
-mbind Iconify {
-       Left            click   Iconify
-}
-
-mbind Icon {
-       Left            dclick  Close
-}
-
-mbind Close {
-       Left            click   Close
-       Middle          click   Kill
-}
-
-mbind AllDesktops {
-       Left            click   ToggleOmnipresent
-}
-
-mbind Shade {
-       Left            click   ToggleShade
-}
-
This page took 0.021568 seconds and 4 git commands to generate.