Re: [wmii] wmii-3 under te_IN.UTF-8 locale - Xi18nTextPropertyToTextList() fails

From: Suraj N. Kurapati <skurapat_AT_ucsc.edu>
Date: Thu, 03 Aug 2006 21:08:30 -0700

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Suraj N. Kurapati wrote:
> It seems that the 'name' field of the 'Client' struct (see line
> 113 of cmd/wm/wm.h) is NULL for the clients whose title bars are
> appearing blank.

> something (the te_IN.UTF-8 locale?!) is preventing wmii from
> reading the title information of these clients.

I've tracked down the problem to the update_client_name() function
in the cmd/wm/client.c file. The problem is that both if-statements
at line 34 and line 37 fail for the clients whose titles contain
Telugu text in Unicode format. Therefore the default value of NULL
(line 28) is kept for the client name.

Is there a reason why a locale of te_IN.UTF-8 would make
Xi18nTextPropertyToTextList() at line 37 fail? Is there some other
way to read a non-XA_STRING encoded client name?

Thanks for your attention.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)

iD8DBQFE0sg+mV9O7RYnKMcRAv4zAJ499EeP7CQM9iox4XNgPwGSE9BtYACeLfA3
BmdfALRPpnreambyHaI4xzI=
=YYTf
-----END PGP SIGNATURE-----
Received on Fri Aug 04 2006 - 06:09:33 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 16:11:36 UTC