Remove the xmonad state file after reading it

Tries to make sure IO is not lazy so the file is processed before it
is removed from the file system.

Fixes #86 and friends.
This commit is contained in:
Peter Jones
2017-03-30 13:42:16 -07:00
parent 76f4a16258
commit 89a8cc88c3
2 changed files with 27 additions and 3 deletions

View File

@@ -1,5 +1,19 @@
# Change Log / Release Notes
## 0.14 (Not Yet Released)
### Bug Fixes
* The state file that xmonad uses while restarting itself is now
removed after it is processed. This fixes a bug that manifested
in several different ways:
- Names of old workspaces would be resurrected after a restart
- Screen sizes would be wrong after changing monitor configuration (#90)
- `spawnOnce` stopped working (xmonad/xmonad-contrib#155)
- Focus did not follow when moving between workspaces (#87)
- etc.
## 0.13 (February 10, 2017)
### Breaking Changes