[Haskell-cafe] How to make a dock window for xmonad using gtk2hs?
Magicloud Magiclouds
magicloud.magiclouds at gmail.com
Sun Mar 8 23:45:06 EDT 2009
Here is my window, seems right... but cannot get a gap....
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
On Thu, Mar 5, 2009 at 7:42 PM, Khudyakov Alexey
<alexey.skladnoy at gmail.com> wrote:
> On Thursday 05 March 2009 09:45:51 Magicloud Magiclouds wrote:
>> I am confused. Code like this works in other WM, except xmonad.
>
> You code does not set _NET_WM_STRUT property. And because of that xmonad
> doesn't treat it specifically. You can inspect you window properties using
> `xprop' utility.
>
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe
>
--
竹密岂妨流水过
山高哪阻野云飞
More information about the Haskell-Cafe
mailing list