1
0
mirror of https://github.com/xmonad/xmonad-contrib.git synced 2025-07-27 02:01:52 -07:00

Remove last remaining derivations of Typeable

GHC 9.12 now warns about this:

    Deriving ‘Typeable’ has no effect: all types now auto-derive Typeable

and we specify -Werror so this is needed to fix CI builds with 9.12.

Related: f732082fdc ("Remove all derivations of Typeable")
This commit is contained in:
Tomas Janousek
2025-01-26 22:48:11 +00:00
parent 6df1044265
commit c7061b0d73
2 changed files with 1 additions and 2 deletions

@@ -116,7 +116,7 @@ data CircleExMsg
= Rotate !Double -- ^ Rotate secondary windows by specific angle = Rotate !Double -- ^ Rotate secondary windows by specific angle
| IncStackRatio !Rational -- ^ Increase (or decrease, with negative value) sizes of secondary windows | IncStackRatio !Rational -- ^ Increase (or decrease, with negative value) sizes of secondary windows
| IncMultiplier !Rational -- ^ Increase 'cMultiplier'. | IncMultiplier !Rational -- ^ Increase 'cMultiplier'.
deriving (Eq, Show, Typeable) deriving (Eq, Show)
instance Message CircleExMsg instance Message CircleExMsg

@@ -158,6 +158,5 @@ data ManageAspectRatio =
FixRatio Rational Window -- ^ Set the aspect ratio for the window FixRatio Rational Window -- ^ Set the aspect ratio for the window
| ResetRatio Window -- ^ Remove the aspect ratio for the window | ResetRatio Window -- ^ Remove the aspect ratio for the window
| ToggleRatio Rational Window -- ^ Toggle the reatio | ToggleRatio Rational Window -- ^ Toggle the reatio
deriving Typeable
instance Message ManageAspectRatio instance Message ManageAspectRatio