xmonad / xmonad-contrib

Contributed modules for xmonad
https://xmonad.org
BSD 3-Clause "New" or "Revised" License
579 stars 272 forks source link

`X.L.ByWidth` handle `LayoutMessages` #815

Open geekosaur opened 1 year ago

geekosaur commented 1 year ago

Problem Description

@liskin pointed out here that the new ByWidth module needs to handle Hide and ReleaseResources messages.

Steps to Reproduce

Use X.L.ByWidth with a sublayout that uses Decoration, then switch the layout between screens.

Configuration File

module Main (main) where

import XMonad
import XMonad.Layout.ByWidth
import XMonad.Layout.Tabbed

main :: IO ()
main = xmonad def {layoutHook = ifWidth 1920 simpleTabbed (layoutHook def)}

Checklist