Re: rename-window change

On Sat, 16 Oct 2010 15:30:30 +0200, Christopher Roy Bratusek wrote:
> Teika suggested rename-window to rewrite _NET_WM_VISIBLE_NAME rather
> than _NET_WM_NAME. But: this does have no effect here.

Theory first: Ewmh specifies that _NET_WM_VISIBLE_NAME is set by the
WM if the WM "changes" a window's name, like "xterm <1>". On the other
hand, WM_NAME and _NET_WM_NAME are set by clients, not WMs, but
rename-window breaks this. It is implied pagers should respect
_NET_WM_VISIBLE_NAME over WM_NAME / _NET_WM_NAME. (Ewmh says "allowing
pager to display...")

Your observation shows that GNOME / KDE / ... pagers (you mean
trayers?) don't follow ewmh, i.e., they've got a bug. It's too hackish
to check the DE and change the behavior to kill their bug in Sawfish
(javascript?). Anyway DE check is not a safe detection of trayers.

Sawfish is already breaking ewmh in this respect, too, so simply
adding _NET_WM_VISIBLE_NAME suffices here, as a practical solution.
(Maybe better to file a bug to ewmh group. wm-spec-list gnome org
still exists. If you like, you can go )

So please revert 3b72e3. Anyway it can't be included in 1.7.1.
A strict solution is more difficult. (I don't enlarge on it now.)

Ah, which was ineffective exactly? _NET_WM_VISIBLE_NAME only, or
_NET_WM_NAME either?

Thank you very much for your work.
Teika (Teika kazura)

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]