[xmonad] focusedHasProperty function

Roman Cheplyaka roma at ro-che.info
Tue Mar 25 00:58:56 EDT 2008


* Mathias Stearn <redbeard0531 at gmail.com> [2008-03-25 00:28:43-0400]
> I am using this like so to prevent accidentally closing my term:
> , ((modMask .|. shiftMask, xK_c),
>     focusedHasProperty (ClassName "Roxterm") >>= flip unless kill1)
> 
> Hopefully this will be useful to someone else.

Applied, thanks!

-- 
Roman I. Cheplyaka (aka Feuerbach @ IRC)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 307 bytes
Desc: Digital signature
Url : http://www.haskell.org/pipermail/xmonad/attachments/20080325/66c53976/attachment.bin


More information about the xmonad mailing list