[xmonad] Issue 453 in xmonad: Layout.Magnifier conflicts with Actions.CycleSelectedLayouts

codesite-noreply at google.com codesite-noreply at google.com
Thu May 19 00:05:07 CEST 2011


Status: New
Owner: ----

New issue 453 by kaspar.b... at gmail.com: Layout.Magnifier conflicts with  
Actions.CycleSelectedLayouts
http://code.google.com/p/xmonad/issues/detail?id=453

What steps will reproduce the problem?
1. Add this to your xmonad.hs:
import XMonad.Layout.Magnifier as Mag
import XMonad.Actions.CycleSelectedLayouts as Cycle

myLayoutHook = windowNavigation . avoidStruts . smartBorders .  
Mag.maximizeVertical $ (named "default" mouseResizableTile ||| named "two  
pane" (TwoPane (3/100) (1/2) ) |||  named "full" Full ||| gimpLayout |||  
pdfLayout)
   where
   gimpLayout = named "gimp layout" (simpleTabbed ****||* simpleTabbed)
   pdfLayout = named "pdf layout" (simpleTabbed *||* mouseResizableTile)main  
= xmonad $ defaultConfig
     { terminal              = "cat ~/.cwd | xargs urxvt -cd"
     , modMask               = mod4Mask --rebind Mod to Windows Key
     , manageHook            = myManageHook
     , layoutHook            = myLayoutHook
     }
     `additionalKeys`
     [
     , ((mod4Mask, xK_g    ), Cycle.cycleThroughLayouts ["gimp  
layout", "default"])
     , ((mod4Mask, xK_r    ), Cycle.cycleThroughLayouts ["pdf  
layout", "default"])
     , ((mod4Mask, xK_space), Cycle.cycleThroughLayouts ["full", "default"])
     , ((mod4Mask, xK_d    ), Cycle.cycleThroughLayouts ["two  
pane", "default"])
     ]
2. Recompile xmonad.hs
3. Try to use keys to cycle through layouts.

What is the expected output? What do you see instead?

Keys should toggle between layouts but instead get stuck on layout they are  
switching to.

What version of the product are you using? On what operating system?
Arch Linux
xmonad-darcs 20100706
xmonad-contrib-darcs 20100705

Attachments:
	xmonad.hs  3.9 KB




More information about the xmonad mailing list