xmonad / xmonad-contrib

Contributed modules for xmonad

Home Page:https://xmonad.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

`X.L.ByWidth` handle `LayoutMessages`

geekosaur opened this issue · comments

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

  • I've read CONTRIBUTING.md

  • I tested my configuration

    • With xmonad version: any
    • With xmonad-contrib version: any version with X.L.PerScreen