diff .xmonad/xmonad.hs @ 271:79a64ef88a6b

Merge
author Augie Fackler <durin42@gmail.com>
date Mon, 12 Dec 2011 11:47:34 -0600
parents 93a8f55a4e30
children 64e73453e43f
line wrap: on
line diff
--- a/.xmonad/xmonad.hs
+++ b/.xmonad/xmonad.hs
@@ -3,6 +3,7 @@ import XMonad
 import XMonad
 import XMonad.Config.Gnome
 import XMonad.Hooks.ManageDocks
+import XMonad.Hooks.ICCCMFocus
 import XMonad.Layout
 import XMonad.Layout.Column
 import XMonad.Layout.LayoutBuilder
@@ -26,6 +27,7 @@ main = do
        { terminal = "urxvt -sr -bg Black -fg White"
        , modMask = mod4Mask
        , layoutHook = avoidStruts myLayout
+       , logHook = takeTopFocus
        } `additionalKeys` [
          ((mod4Mask, xK_a), spawn "gnome-screensaver-command --lock")
        , ((mod4Mask, xK_p), spawn myDmenuTitleBar)