Ok, doing some tests it seems that the logic of setting window/icon names
in fvwm is broken. The behavior depends on the ability of the client to do
set UTF8-properties, but it is broken in any case. Tests follow:

On urxvt:

(551) aw@anhrefn $ xprop -id 0x3200008 |grep WM_.*NAME|grep -v LOCALE
_NET_WM_ICON_VISIBLE_NAME(UTF8_STRING) = "nix"
_NET_WM_VISIBLE_NAME(UTF8_STRING) = "nix"
_NET_WM_ICON_NAME(UTF8_STRING) = "nix"
WM_ICON_NAME(STRING) = "nix"
_NET_WM_NAME(UTF8_STRING) = "nix"
WM_NAME(STRING) = "nix"
(552) aw@anhrefn $ echo -ne "\033]1;icon\007"
(553) aw@anhrefn $ xprop -id 0x3200008 |grep WM_.*NAME|grep -v LOCALE
_NET_WM_ICON_VISIBLE_NAME(UTF8_STRING) = "nix"
_NET_WM_VISIBLE_NAME(UTF8_STRING) = "nix"
_NET_WM_ICON_NAME(UTF8_STRING) = "icon"
WM_ICON_NAME(STRING) = "icon"
_NET_WM_NAME(UTF8_STRING) = "nix"
WM_NAME(STRING) = "nix"
(554) aw@anhrefn $ echo -ne "\033]2;title\007"
(555) aw@anhrefn $ xprop -id 0x3200008 |grep WM_.*NAME|grep -v LOCALE
_NET_WM_ICON_VISIBLE_NAME(UTF8_STRING) = "nix"
_NET_WM_VISIBLE_NAME(UTF8_STRING) = "title"
_NET_WM_ICON_NAME(UTF8_STRING) = "icon"
WM_ICON_NAME(STRING) = "icon"
_NET_WM_NAME(UTF8_STRING) = "title"
WM_NAME(STRING) = "title"
(556) aw@anhrefn $ echo -ne "\033]1;icon1\007"
(557) aw@anhrefn $ xprop -id 0x3200008 |grep WM_.*NAME|grep -v LOCALE
_NET_WM_ICON_VISIBLE_NAME(UTF8_STRING) = "title"
_NET_WM_VISIBLE_NAME(UTF8_STRING) = "title"
_NET_WM_ICON_NAME(UTF8_STRING) = "icon1"
WM_ICON_NAME(STRING) = "icon1"
_NET_WM_NAME(UTF8_STRING) = "title"
WM_NAME(STRING) = "title"

On rxvt:

(557) aw@anhrefn $ xprop -id  0x2800002 |grep WM_.*NAME|grep -v LOCALE
WM_ICON_NAME(STRING) = "nix"
WM_NAME(STRING) = "nix"
(558) aw@anhrefn $ echo -ne "\033]1;icon\007"
(559) aw@anhrefn $ xprop -id  0x2800002 |grep WM_.*NAME|grep -v LOCALE
WM_ICON_NAME(STRING) = "icon"
WM_NAME(STRING) = "nix"
(560) aw@anhrefn $ echo -ne "\033]2;title\007"
(561) aw@anhrefn $ xprop -id  0x2800002 |grep WM_.*NAME|grep -v LOCALE
WM_ICON_NAME(STRING) = "icon"
WM_NAME(STRING) = "title"

In any of the rxvt-cases, WM_NAME is displayed in FvwmIconMan - altough
  *FvwmIconMan*format "%i"
is in the config file.

cu

AW
-- 
[...] If you don't want to be restricted, don't agree to it. If you are
coerced, comply as much as you must to protect yourself, just don't support
it. Noone can free you but yourself. (crag, on Debian Planet)
Arne Wichmann (a...@linux.de)

Attachment: signature.asc
Description: Digital signature

Reply via email to