Merge pull request #259 from vmchale/master

Accord with new pattern-match
This commit is contained in:
Sibi Prabakaran
2021-01-01 11:52:44 +05:30
committed by GitHub
2 changed files with 3 additions and 1 deletions

View File

@@ -13,6 +13,8 @@
* Export constructor for `Choose` and `CLR` from `Module.Layout` to allow
pattern-matching on the left and right sub-layouts of `Choose l r a`.
* Compatibility with GHC 9.0
## 0.15 (September 30, 2018)
* Reimplement `sendMessage` to deal properly with windowset changes made

View File

@@ -61,7 +61,7 @@ xmonad conf = do
let launch' args = do
catchIO buildLaunch
conf' @ XConfig { layoutHook = Layout l }
conf'@XConfig { layoutHook = Layout l }
<- handleExtraArgs conf args conf{ layoutHook = Layout (layoutHook conf) }
withArgs [] $ launch (conf' { layoutHook = l })