aboutsummaryrefslogtreecommitdiffstats
path: root/XMonad/Hooks
diff options
context:
space:
mode:
authorBrent Yorgey <byorgey@gmail.com>2008-04-02 02:37:42 +0200
committerBrent Yorgey <byorgey@gmail.com>2008-04-02 02:37:42 +0200
commitac609136b989b7fa97b6a5cea993a8b423a58254 (patch)
tree71f6b4c89bb8f5d67a48bbc0b511d9d2dafb09ee /XMonad/Hooks
parent7cd609459f3fcc7b348a55d84306ba4ea0b49593 (diff)
downloadXMonadContrib-ac609136b989b7fa97b6a5cea993a8b423a58254.tar.gz
XMonadContrib-ac609136b989b7fa97b6a5cea993a8b423a58254.tar.xz
XMonadContrib-ac609136b989b7fa97b6a5cea993a8b423a58254.zip
XMonad.Layout.Gaps: new contrib module for manual gap support, in the few cases where ManageDocks is not appropriate (dock apps that don't set STRUTS properly, adjusting for a display that is cut off on one edge, etc.)
darcs-hash:20080402003742-bd4d7-6a773f670180cc60118bca3a0d2a12fa3a445540.gz
Diffstat (limited to 'XMonad/Hooks')
-rw-r--r--XMonad/Hooks/ManageDocks.hs6
1 files changed, 5 insertions, 1 deletions
diff --git a/XMonad/Hooks/ManageDocks.hs b/XMonad/Hooks/ManageDocks.hs
index b0e7aec..35244c8 100644
--- a/XMonad/Hooks/ManageDocks.hs
+++ b/XMonad/Hooks/ManageDocks.hs
@@ -85,7 +85,11 @@ import Data.List (delete)
-- Ideally this would go in its own separate module in Util,
-- but ManageDocks is angling for inclusion into the xmonad core,
-- so keep the dependencies to a minimum.
-data Direction = U | D | R | L deriving ( Read, Show, Eq, Ord, Enum, Bounded )
+data Direction = U -- ^ Up/top
+ | D -- ^ Down/bottom
+ | R -- ^ Right
+ | L -- ^ Left
+ deriving ( Read, Show, Eq, Ord, Enum, Bounded )
-- | Detects if the given window is of type DOCK and if so, reveals
-- it, but does not manage it. If the window has the STRUT property