File tree 2 files changed +6
-1
lines changed
2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change 50
50
- Added ` focusWorkspace ` for focusing workspaces on the screen that they
51
51
belong to.
52
52
53
+ * ` XMonad.Util.NamedScratchPad `
54
+
55
+ - Fix unintended window hiding in ` nsSingleScratchpadPerWorkspace ` .
56
+ Only hide the previously active scratchpad.
57
+
53
58
## 0.18.1 (August 20, 2024)
54
59
55
60
### Breaking Changes
Original file line number Diff line number Diff line change @@ -309,7 +309,7 @@ nsSingleScratchpadPerWorkspace :: NamedScratchpads -> X ()
309
309
nsSingleScratchpadPerWorkspace scratches =
310
310
nsHideOnCondition $ \ _lastFocus curFocus winSet hideScratch -> do
311
311
allScratchesButCurrent <-
312
- filterM (liftA2 (<|| >) (pure . (/= curFocus)) (`isNSP` scratches))
312
+ filterM (liftA2 (<&& >) (pure . (/= curFocus)) (`isNSP` scratches))
313
313
(W. index winSet)
314
314
whenX (isNSP curFocus scratches) $
315
315
for_ allScratchesButCurrent hideScratch
You can’t perform that action at this time.
0 commit comments