mirror of
https://github.com/xmonad/xmonad-contrib.git
synced 2025-08-01 12:41:52 -07:00
NamedWindow: Mosaic requires NamedWindow to have a Read instance
This commit is contained in:
@@ -36,7 +36,7 @@ import XMonad
|
|||||||
-- See "XMonad.Layout.Tabbed" for an example of its use.
|
-- 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
|
instance Eq NamedWindow where
|
||||||
(NW s _) == (NW s' _) = s == s'
|
(NW s _) == (NW s' _) = s == s'
|
||||||
instance Ord NamedWindow where
|
instance Ord NamedWindow where
|
||||||
|
Reference in New Issue
Block a user