[xmonad] Use atomic window props in window manage hook

Brandon Allbery allbery.b at gmail.com
Thu Dec 11 17:55:18 UTC 2014


On Thu, Dec 11, 2014 at 12:21 PM, Chris Bell <cwbell at mail.usf.edu> wrote:

> (but I think that was pretty misguided, since it wouldn't compile), and
> I've tried checking against:
>

> ( isInProperty "_NET_WM_STATE" "_NET_WM_STATE_ABOVE" )
>

This is the correct way to do it, if it is set at map time. But it might
not be, in which case you need a handleEventHook looking for a
_NET_WM_STATE ClientMessage. And Chrome does have a certain annoying
history of not setting various window properties until after the window is
mapped.

-- 
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://www.haskell.org/pipermail/xmonad/attachments/20141211/25c5bf97/attachment.html>


More information about the xmonad mailing list