[xmonad] More possibilities for border width customization

Brandon Allbery allbery.b at gmail.com
Tue Dec 29 21:19:38 UTC 2015


On Tue, Dec 29, 2015 at 4:10 PM, Brent Yorgey <byorgey at gmail.com> wrote:

> This seems to me like it would be a rather invasive breaking change
> (changing the type of a field in the main xmonad config record).
> Personally I do not think it would be worth it.  However if someone makes a
> patch, along with a reasoned justification, it will certainly be considered.
>

Not everything belongs in core. What I usually suggest in IRC is:

   setBorder bw = ask >>= \w -> liftX (withDisplay $ \d -> io $
setWindowBorderWidth d w bw) >> idHook

and then apply it to windows in the ManageHook.
An argument could possibly be made for that function going into the core...
but probably should start out in contrib.

-- 
brandon s allbery kf8nh                               sine nomine associates
allbery.b at gmail.com                                  ballbery at sinenomine.net
unix, openafs, kerberos, infrastructure, xmonad        http://sinenomine.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/xmonad/attachments/20151229/9c882e99/attachment.html>


More information about the xmonad mailing list