From ac609136b989b7fa97b6a5cea993a8b423a58254 Mon Sep 17 00:00:00 2001 From: Brent Yorgey Date: Wed, 2 Apr 2008 02:37:42 +0200 Subject: 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 --- XMonad/Hooks/ManageDocks.hs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'XMonad/Hooks/ManageDocks.hs') 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 -- cgit v1.2.3