Merge pull request #445 from LSLeary/current-wins

Let the current screen win in the fight for dupes
This commit is contained in:
Tony Zorman
2023-04-03 14:48:50 +02:00
committed by GitHub
2 changed files with 4 additions and 0 deletions

View File

@@ -16,6 +16,9 @@
### Bug Fixes
* Duplicated floats (e.g. from X.A.CopyToAll) no longer escape to inactive
screens.
## 0.17.2 (April 2, 2023)
### Bug Fixes

View File

@@ -197,6 +197,7 @@ windows f = do
let m = W.floating ws
flt = [(fw, scaleRationalRect viewrect r)
| fw <- filter (`M.member` m) (W.index this)
, fw `notElem` vis
, Just r <- [M.lookup fw m]]
vs = flt ++ rs