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

Brandon S. Allbery KF8NH allbery at ece.cmu.edu
Mon Mar 9 02:29:53 EDT 2009


On 2009 Mar 8, at 23:45, Magicloud Magiclouds wrote:
> Here is my window, seems right... but cannot get a gap....

Once again: where's the _NET_WM_STRUT?  I've looked through your  
properties, but none of them is _NET_WM_STRUT. Non-tiling window  
managers may dock the window in a default fashion because of  
_NET_WM_WINDOW_TYPE, but xmonad needs to know how much space to  
reserve for it.

> WM_HINTS(WM_HINTS):
> 		Client accepts input or input focus: True
> 		Initial state is Normal State.
> 		window id # of group leader: 0x1800001
> _NET_WM_SYNC_REQUEST_COUNTER(CARDINAL) = 25165829
> _NET_WM_WINDOW_TYPE(ATOM) = _NET_WM_WINDOW_TYPE_DOCK
> _NET_WM_USER_TIME_WINDOW(WINDOW): window id # 0x1800004
> WM_CLIENT_LEADER(WINDOW): window id # 0x1800001
> _NET_WM_PID(CARDINAL) = 16671
> WM_LOCALE_NAME(STRING) = "zh_CN.UTF-8"
> WM_CLIENT_MACHINE(STRING) = "shidaw.desktop.amazon.com"
> WM_NORMAL_HINTS(WM_SIZE_HINTS):
> 		program specified minimum size: 162 by 54
> 		window gravity: NorthWest
> WM_PROTOCOLS(ATOM): protocols  WM_DELETE_WINDOW, WM_TAKE_FOCUS,
> _NET_WM_PING, _NET_WM_SYNC_REQUEST
> WM_CLASS(STRING) = "sideBar.rb", "SideBar.rb"
> WM_ICON_NAME(STRING) = "sideBar.rb"
> _NET_WM_ICON_NAME(UTF8_STRING) = 0x73, 0x69, 0x64, 0x65, 0x42, 0x61,
> 0x72, 0x2e, 0x72, 0x62
> WM_NAME(STRING) = "sideBar.rb"
> _NET_WM_NAME(UTF8_STRING) = 0x73, 0x69, 0x64, 0x65, 0x42, 0x61, 0x72,
> 0x2e, 0x72, 0x62

-- 
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/20090309/a0ea5f91/PGP.bin


More information about the Haskell-Cafe mailing list