[xmonad] Fwd: Patch to add new Layout message

Brandon Allbery allbery.b at gmail.com
Thu Oct 2 03:00:20 UTC 2014


On Wed, Oct 1, 2014 at 10:55 PM, Christian Wills <cwills.dev at gmail.com>
wrote:

> instance ExtensionClass MasterPaneFlag where
>     initialValue = MasterPaneFlag False
>
> pickIncrFun :: Bool -> X ()
> pickIncrFun flag = if flag then (sendMessage (IncMasterN (-1))) else
> (sendMessage (IncMasterN 1))
>

You might want to check the behavior of this around manual changes (mod-,
and mod-.). It should at least be safe against mod-shift-space and manual
setLayout, I think.

-- 
brandon s allbery kf8nh                               sine nomine associates
allbery.b at gmail.com                                  ballbery at sinenomine.net
unix, openafs, kerberos, infrastructure, xmonad        http://sinenomine.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/xmonad/attachments/20141001/ede7d8f9/attachment.html>


More information about the xmonad mailing list