[xmonad] Problems with magic Focus

Lee Aylward lee at laylward.com
Fri Apr 11 12:11:17 EDT 2008


On Fri, Apr 11, 2008 at 05:50:59PM +0200, Nathan Huesken wrote:
> Hi,
> 
> I am trying to make the magic focus extension work. This is from my xmonaf.hs:
> 
> myLayout = magicFocus tiled ||| layoutHints mtiled ||| Full
>   where
>      mtiled = Mirror tiled
>      -- default tiling algorithm partitions the screen into two panes
>      tiled   = Tall nmaster delta ratio
>  
>      -- The default number of windows in the master pane
>      nmaster = 1
>  
>      -- Default proportion of screen occupied by master pane
>      ratio   = 1/2
>  
>      -- Percent of screen to increment by when resizing panes
>      delta   = 3/100
> 
> This gives me the following error on startup:
> xmonad.hs:205:11: Not in scope: `magicFocus'
> 
> I am using xmonad 0.6 on gentoo.
> 
> Any advice?
> 
> Thanks!
> nathan

Hi Nathan,

Do you have "import XMonad.Layout.MagicFocus" at the top of your config file?

-- 
Lee Aylward
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://www.haskell.org/pipermail/xmonad/attachments/20080411/73e515e4/attachment.bin


More information about the xmonad mailing list