Re: [dev] [dwm] window title shows as "broken"
On 03/12/12, Anselm R Garbe wrote:
> On 3 December 2012 03:07, Pablo Perez <kereru_AT_mirlingua.net> wrote:
> > I was wondering if someone could shed some light on a problem I have.
> >
> > The bar is not showing the name of the window. Instead is showing "broken"
> > This happens on my machine both using a stock debian package *and* after compiling from source.
> >
> > I am using Debian stable.
> >
> > The funny thing is that on another machine, also using Debian stable, with a very similiar
> > configuration, it all works fine, and the bar shows the window name.
> >
> > It is not a big thing, but just a bit annoying and sometimes confusing when many similar windows
> > open.
> > If someone would have a rough idea of what the root cause is, that would be awesome.
> >
> > Thanks and congratulations on the great job. I love dwm!
>
> Usually this happens when the window does not set proper window
> class/instance hints.
>
> Please check the output of xprop on such windows...
>
Thanks, Anselm.
It actually happens with *all* windows.
Output from xprop for a couple of examples:
1. Iceweasel
------------
(only meaningful lines)
WM_STATE(WM_STATE): window state: Normal
icon window: 0x0
WM_HINTS(WM_HINTS):
Client accepts input or input focus: True
Initial state is Normal State.
WM_WINDOW_ROLE(STRING)="browser"
WM_CLASS(STRING) = "Navigator", "Iceweasel"
WM_NAME(STRING) = "suckless.org software that sucks less - Vimperator"
2. Terminal - I use sakura
--------------------------
_NET_WM_USER_TIME(CARDINAL) = 10685704
WM_STATE(WM_STATE):
window state: Normal
icon window: 0x0
WM_HINTS(WM_HINTS):
Client accepts input or input focus: True
Initial state is Normal State.
window id # of group leader: 0xa00001
XdndAware(ATOM) = BITMAP
_MOTIF_DRAG_RECEIVER_INFO(_MOTIF_DRAG_RECEIVER_INFO) = 0x6c, 0x0, 0x5, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0,0x0, 0x0, 0x0, 0x10, 0x0, 0x0, 0x0
_NET_WM_SYNC_REQUEST_COUNTER(CARDINAL) = 10485766
_NET_WM_WINDOW_TYPE(ATOM) = _NET_WM_WINDOW_TYPE_NORMAL
_NET_WM_USER_TIME_WINDOW(WINDOW): window id # 0xa00005
WM_CLIENT_LEADER(WINDOW): window id # 0xa00001
_NET_WM_PID(CARDINAL) = 11469
WM_LOCALE_NAME(STRING) = "eo.UTF-8"
WM_CLIENT_MACHINE(STRING) = "inti.casa.org"
WM_NORMAL_HINTS(WM_SIZE_HINTS):
program specified minimum size: 11 by 20
program specified resize increment: 9 by 18
program specified base size: 2 by 2
window gravity: NorthWest
WM_PROTOCOLS(ATOM): protocols WM_DELETE_WINDOW, WM_TAKE_FOCUS, _NET_WM_PING, _NET_WM_SYNC_REQUEST
WM_CLASS(STRING) = "sakura", "Sakura"
WM_ICON_NAME(STRING) = "sakura"
_NET_WM_ICON_NAME(UTF8_STRING) = 0x73, 0x61, 0x6b, 0x75, 0x72, 0x61
WM_NAME(STRING) = "sakura"
_NET_WM_NAME(UTF8_STRING) = 0x73, 0x61, 0x6b, 0x75, 0x72, 0x61
The WM_CLASS and WM_NAME all look very sensible.
What do you reckon?
Received on Mon Dec 10 2012 - 00:12:21 CET
This archive was generated by hypermail 2.3.0
: Mon Dec 10 2012 - 00:24:04 CET