From e894a806defd56ed07c40ebd1292b847b64ee4be Mon Sep 17 00:00:00 2001 From: Daniel Wagner Date: Thu, 7 Oct 2010 03:19:57 +0200 Subject: minor documentation fixes Ignore-this: c5c046933f318f5a14f063ca387601b9 darcs-hash:20101007011957-76d51-ab28ea5c58b183de7dd35833b2e5bdb25411900a.gz --- XMonad/Layout/Groups.hs | 2 +- XMonad/Layout/LayoutCombinators.hs | 10 +++++++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/XMonad/Layout/Groups.hs b/XMonad/Layout/Groups.hs index 984aa46..4545866 100644 --- a/XMonad/Layout/Groups.hs +++ b/XMonad/Layout/Groups.hs @@ -79,7 +79,7 @@ import Control.Monad (forM) -- notion of the order of windows, which is completely separate -- from XMonad's. For this reason, operations like 'XMonad.StackSet.SwapUp' -- will have no visible effect, and those like 'XMonad.StackSet.focusUp' --- will focus the windows in an imprevisible order. For a better way of +-- will focus the windows in an unpredictable order. For a better way of -- rearranging windows and moving focus in such a layout, see the -- example 'ModifySpec's (to be passed to the 'Modify' message) provided -- by this module. diff --git a/XMonad/Layout/LayoutCombinators.hs b/XMonad/Layout/LayoutCombinators.hs index 79fe0bf..6d443cd 100644 --- a/XMonad/Layout/LayoutCombinators.hs +++ b/XMonad/Layout/LayoutCombinators.hs @@ -76,6 +76,7 @@ import XMonad.Layout.DragPane -- > import XMonad hiding ( (|||) ) -- > import XMonad.Layout.LayoutCombinators -- +-- If you import XMonad.Layout, you will need to hide it from there as well. -- Then bind some keys to a 'JumpToLayout' message: -- -- > , ((modm .|. controlMask, xK_f), sendMessage $ JumpToLayout "Full") -- jump directly to the Full layout @@ -179,9 +180,16 @@ infixr 5 ||| -- The standard xmonad core exports a layout combinator @|||@ which -- represents layout choice. This is a reimplementation which also -- provides the capability to support 'JumpToLayout' messages. To use --- it, be sure to hide the import of @|||@ from the xmonad core: +-- it, be sure to hide the import of @|||@ from the xmonad core; if either of +-- these two lines appear in your configuration: +-- +-- > import XMonad +-- > import XMonad.Layout +-- +-- replace them with these instead, respectively: -- -- > import XMonad hiding ( (|||) ) +-- > import XMonad.Layout hiding ( (|||) ) -- -- The argument given to a 'JumpToLayout' message should be the -- @description@ of the layout to be selected. If you use -- cgit v1.2.3