[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Crash: XSetWMIconName, x_set_name_internal, prepare_menu_bars
From: |
Chong Yidong |
Subject: |
Re: Crash: XSetWMIconName, x_set_name_internal, prepare_menu_bars |
Date: |
Fri, 01 Jun 2007 18:42:57 -0400 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.990 (gnu/linux) |
Chong Yidong <address@hidden> writes:
> YAMAMOTO Mitsuharu <address@hidden> writes:
>
>>> After looking at it, I realized there was no need to call
>>> x_encode_text in the GTK case. So I separated the two cases
>>> completely, which should improve things.
>>
>> I'm not so familiar with GTK+, but is the call to XSetWMIconName
>> unnecessary in the GTK+ case? Previously, it was called in both cases
>> and that was the reason for x_encode_text in the GTK+ case.
>
> I believe this was an oversight. However, on my Gnome desktop, it
> makes no observable difference. According to the Xlib specs,
> XSetWMIconName sets the WM_ICON_NAME window property, which is a
> "string that the client wants to be displayed in association with the
> window when it is iconified (for example, in an icon label)".
> However, I see the same iconfied window names for GTK and non-GTK
> builds, both before and after RMS's change.
I looked at the GTK+ sources. Apparently, if we don't set
WM_ICON_NAME ourselves, gtk_window_set_icon_name sets WM_ICON_NAME for
us. So I think we are perfectly safe.
- Re: Crash: XSetWMIconName, x_set_name_internal, prepare_menu_bars, Richard Stallman, 2007/06/01
- Re: Crash: XSetWMIconName, x_set_name_internal, prepare_menu_bars, Chong Yidong, 2007/06/01
- Re: Crash: XSetWMIconName, x_set_name_internal, prepare_menu_bars, Reiner Steib, 2007/06/01
- Re: Crash: XSetWMIconName, x_set_name_internal, prepare_menu_bars, Kim F. Storm, 2007/06/01
- Re: Crash: XSetWMIconName, x_set_name_internal, prepare_menu_bars, Richard Stallman, 2007/06/01
- Re: Crash: XSetWMIconName, x_set_name_internal, prepare_menu_bars, Chong Yidong, 2007/06/01
- Re: Crash: XSetWMIconName, x_set_name_internal, prepare_menu_bars, YAMAMOTO Mitsuharu, 2007/06/01
- Re: Crash: XSetWMIconName, x_set_name_internal, prepare_menu_bars, Chong Yidong, 2007/06/01
- Re: Crash: XSetWMIconName, x_set_name_internal, prepare_menu_bars,
Chong Yidong <=
- Re: Crash: XSetWMIconName, x_set_name_internal, prepare_menu_bars, YAMAMOTO Mitsuharu, 2007/06/01
- Re: Crash: XSetWMIconName, x_set_name_internal, prepare_menu_bars, Chong Yidong, 2007/06/02
- Re: Crash: XSetWMIconName, x_set_name_internal, prepare_menu_bars, Jan Djärv, 2007/06/02
- Re: Crash: XSetWMIconName, x_set_name_internal, prepare_menu_bars, Richard Stallman, 2007/06/02
- Re: Crash: XSetWMIconName, x_set_name_internal, prepare_menu_bars, Chong Yidong, 2007/06/02
- Re: Crash: XSetWMIconName, x_set_name_internal, prepare_menu_bars, Richard Stallman, 2007/06/03
- Re: Crash: XSetWMIconName, x_set_name_internal, prepare_menu_bars, Chong Yidong, 2007/06/03
- Re: Crash: XSetWMIconName, x_set_name_internal, prepare_menu_bars, Richard Stallman, 2007/06/03
- Re: Crash: XSetWMIconName, x_set_name_internal, prepare_menu_bars, YAMAMOTO Mitsuharu, 2007/06/03
- Re: Crash: XSetWMIconName, x_set_name_internal, prepare_menu_bars, Kenichi Handa, 2007/06/03