From ea16598a78b243b96a989af095cfabdfdd61b49e Mon Sep 17 00:00:00 2001 From: Tony Zorman Date: Sun, 18 Sep 2022 14:11:57 +0200 Subject: [PATCH] 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 --- CHANGES.md | 6 ++++++ XMonad/Util/Scratchpad.hs | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/CHANGES.md b/CHANGES.md index 165012b1..adce2735 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -3,7 +3,13 @@ ## _unreleased_ ### Breaking Changes + +* `XMonad.Util.NamedScratchpad`: + + - Deprecated the module; use `XMonad.Util.NamedScratchpad` instead. + ### New Modules + ### Bug Fixes and Minor Changes * `XMonad.Layout.BorderResize` diff --git a/XMonad/Util/Scratchpad.hs b/XMonad/Util/Scratchpad.hs index d09a32d9..b740e51d 100644 --- a/XMonad/Util/Scratchpad.hs +++ b/XMonad/Util/Scratchpad.hs @@ -13,7 +13,7 @@ -- ----------------------------------------------------------------------------- -module XMonad.Util.Scratchpad ( +module XMonad.Util.Scratchpad {-# DEPRECATED "Use XMonad.Util.NamedScratchpad instead" #-} ( -- * Usage -- $usage scratchpadSpawnAction