'XMonad.Layout.NoBorders': document upgrade path

Document upgrade path for 'hiddens', which added a 'Rectangle'
parameter.
This commit is contained in:
Yclept Nemo
2018-06-10 19:45:17 -04:00
parent 0c1a6c25f6
commit 9d342cddb7
2 changed files with 10 additions and 1 deletions

View File

@@ -182,7 +182,9 @@ instance (Read p, Show p, SetsAmbiguous p) => LayoutModifier (ConfigurableBorder
-- should not have borders drawn through 'ConfigurableBorder'
--
-- To add your own (though perhaps those options would better belong as an
-- aditional constructor to 'Ambiguity'), you can add the function as such:
-- additional constructor to 'Ambiguity'), you can add the following function.
-- Note that @lr@, the parameter representing the 'Rectangle' of the parent
-- layout, was added to 'hiddens' in 0.14. Update your instance accordingly.
--
-- > data MyAmbiguity = MyAmbiguity deriving (Read, Show)
--