Re: incorrect display window title (russian locale) in xlib progs

James Cloos <[email protected]> Mon, 10 Sep 2012 13:40:11 -0400
Newsgroups gmane.comp.window-managers.icewm.devel
Message-ID <[email protected]>
I found that my problem with non-iso8859-1 titles was that I had started
compiling icewm without gentoo's nls USE flag, due to compilation failures.
(It had been long enough that I had forgotten, but it was easy enough to
figure out again.)

When icewm-1.3.7 is configured with --enable-nls --enable-i18n and
compiled with gcc-4.7, compilation fails due to an incompatibility with
gcc-4.7's stricter C++ conformance.

icewm only supports COMPOUND_TEXT with --enable-i18n.

Forcing g++-4.6.3 instead of g++-4.7.1 fixed the compilation.

You should check whether your distribution enables i18n.

Look in icewm-1.3.7/src/wmclient.cc at the YFrameClient::getNameHint()
and YFrameClient::setWindowTitle() methods for details.

Incidenly, adding support for the ewmh props should be easy, given how
things are coded for the icccm props.

-JimC
-- 
James Cloos <[email protected]>         OpenPGP: 1024D/ED7DAEA6

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/