[Haskell-cafe] How to make a dock window for xmonad using gtk2hs?

Brandon S. Allbery KF8NH allbery at ece.cmu.edu
Wed Mar 4 22:59:53 EST 2009

On 2009 Mar 4, at 21:40, Magicloud Magiclouds wrote:
>  I am using gtk2hs to make some sidebar thing for xmonad. Well, after
> I tried a few ways, I still cannot make it dock like xmobar. It just
> covered other windows at the edge of the screen.
>  Could someone give me a sample or something I could learn from?  
> Thanks.

You need to go to freedesktop.org and read up on the Extended Window  
Manager Hints.  In this particular case the extension you need is the  
_NET_WM_STRUT property.

(xmobar is open source, you could look through its source)

brandon s. allbery [solaris,freebsd,perl,pugs,haskell] allbery at kf8nh.com
system administrator [openafs,heimdal,too many hats] allbery at ece.cmu.edu
electrical and computer engineering, carnegie mellon university    KF8NH

-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 195 bytes
Desc: This is a digitally signed message part
Url : http://www.haskell.org/pipermail/haskell-cafe/attachments/20090304/2e3c3c42/PGP.bin

More information about the Haskell-Cafe mailing list