
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@kf8nh.com system administrator [openafs,heimdal,too many hats] allbery@ece.cmu.edu electrical and computer engineering, carnegie mellon university KF8NH