From 60867bdd2d7c99908dd26b6201252d1ba5e31649 Mon Sep 17 00:00:00 2001
From: Tony Zorman <soliditsallgood@mailbox.org>
Date: Mon, 9 Oct 2023 14:32:32 +0200
Subject: [PATCH] X.L.Cross: Deprecate

The module has badly bitrotted, and is in such a state that it's
unlikely anyone is using it currently. Better alternatives exist, so
just deprecating seems appropriate here.

Closes: https://github.com/xmonad/xmonad-contrib/issues/793
---
 CHANGES.md             | 4 ++++
 XMonad/Layout/Cross.hs | 2 +-
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/CHANGES.md b/CHANGES.md
index 8b75d296..2b0ce924 100644
--- a/CHANGES.md
+++ b/CHANGES.md
@@ -4,6 +4,10 @@
 
 ### Breaking Changes
 
+  * Deprecated `XMonad.Layout.Cross` due to bitrot; refer to
+    `XMonad.Layout.Circle` and `XMonad.Layout.ThreeColumns` for
+    alternatives.
+
   * Deprecated the `XMonad.Layout.StateFull` module and
     `XMonad.Layout.TrackFloating.(t|T)rackFloating` in favour of
     `XMonad.Layout.FocusTracking`.
diff --git a/XMonad/Layout/Cross.hs b/XMonad/Layout/Cross.hs
index 261b05d9..0c0260c3 100644
--- a/XMonad/Layout/Cross.hs
+++ b/XMonad/Layout/Cross.hs
@@ -12,7 +12,7 @@
 --
 -- A Cross Layout with the main window in the center.
 --
-module XMonad.Layout.Cross(
+module XMonad.Layout.Cross {-# DEPRECATED "Use XMonad.Layout.Circle or XMonad.Layout.ThreeColumn.ThreeColMid instead" #-} (
                           -- * Usage
                           -- $usage
                           simpleCross