[Haskell-cafe] How to have a managed window unfocusable?

Peter Jones mlists at pmade.com
Tue Jul 8 14:50:00 UTC 2014


Magicloud Magiclouds <magicloud.magiclouds at gmail.com> writes:
>   I'd like to have a transparent clock floating on my desktop.
>
>   If I made it ignored (unmanaged), it would not be above and would be
> blocked by other windows.
>
>   If I made it managed and float, when I floated up and down, it would be
> focused and I needed to press hotkey again to move focus to correct window.
>
>   Anyway I could manage it, but not focusing on it?

If you're willing to keep the window in the tiling layer I highly
recommend XMonad.Layout.BoringWindows:

  http://xmonad.org/xmonad-docs/xmonad-contrib/XMonad-Layout-BoringWindows.html

Marking a window as boring and using the focusing functions from that
module allow your focus key bindings to skip over the window.

-- 
Peter Jones, Founder, Devalot.com
Defending the honor of good code



More information about the Haskell-Cafe mailing list