X.U.Scratchpad: Deprecate

This is i) broken and ii) just the functionality of X.U.NamedScratchpad
rewrapped (and not necessarily improved upon) at this point.

With recent changes to the way named scratchpads work[1], we would have
to export internals of X.U.NamedScratchpad in order to restore
X.U.Scratchpad to its full functionality.  This does not seem worth it,
as the latter does not bring anything substantially new to the table.

Closes: https://github.com/xmonad/xmonad-contrib/issues/756
Related: https://github.com/xmonad/xmonad-contrib/issues/591
[1]: 3fc830aa09368dca04df24bf7ec4ac817f2de479
This commit is contained in:
Tony Zorman 2022-09-18 14:11:57 +02:00
parent 4a3f8eb032
commit ea16598a78
2 changed files with 7 additions and 1 deletions

View File

@ -3,7 +3,13 @@
## _unreleased_ ## _unreleased_
### Breaking Changes ### Breaking Changes
* `XMonad.Util.NamedScratchpad`:
- Deprecated the module; use `XMonad.Util.NamedScratchpad` instead.
### New Modules ### New Modules
### Bug Fixes and Minor Changes ### Bug Fixes and Minor Changes
* `XMonad.Layout.BorderResize` * `XMonad.Layout.BorderResize`

View File

@ -13,7 +13,7 @@
-- --
----------------------------------------------------------------------------- -----------------------------------------------------------------------------
module XMonad.Util.Scratchpad ( module XMonad.Util.Scratchpad {-# DEPRECATED "Use XMonad.Util.NamedScratchpad instead" #-} (
-- * Usage -- * Usage
-- $usage -- $usage
scratchpadSpawnAction scratchpadSpawnAction