From 465ba6e5ddedaaf438d1252bbf50f698ce1cff36 Mon Sep 17 00:00:00 2001 From: Don Stewart Date: Sat, 22 Mar 2008 20:22:48 +0100 Subject: strict fields on layout messages darcs-hash:20080322192248-cba2c-cbcffa5b07f14525a143b6d77248ce0406a5ffc1 --- XMonad/Layout.hs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/XMonad/Layout.hs b/XMonad/Layout.hs index fab7db2..2347cb9 100644 --- a/XMonad/Layout.hs +++ b/XMonad/Layout.hs @@ -46,7 +46,7 @@ import Data.Maybe (fromMaybe) data Resize = Shrink | Expand deriving Typeable -- | You can also increase the number of clients in the master pane -data IncMasterN = IncMasterN Int deriving Typeable +data IncMasterN = IncMasterN !Int deriving Typeable instance Message Resize instance Message IncMasterN @@ -57,7 +57,7 @@ data Full a = Full deriving (Show, Read) instance LayoutClass Full a -- | The builtin tiling mode of xmonad, and its operations. -data Tall a = Tall Int Rational Rational deriving (Show, Read) +data Tall a = Tall !Int !Rational !Rational deriving (Show, Read) -- TODO should be capped [0..1] .. -- a nice pure layout, lots of properties for the layout, and its messages, in Properties.hs -- cgit v1.2.3