NamedWindow: Mosaic requires NamedWindow to have a Read instance

This commit is contained in:
Andrea Rossato
2007-11-22 13:38:02 +00:00
parent 90abd48f28
commit 5ea409d27d

View File

@@ -36,7 +36,7 @@ import XMonad
-- See "XMonad.Layout.Tabbed" for an example of its use.
data NamedWindow = NW !String !Window
data NamedWindow = NW !String !Window deriving ( Read )
instance Eq NamedWindow where
(NW s _) == (NW s' _) = s == s'
instance Ord NamedWindow where