Re: [dev] [tabbed] Title setting is broken

From: Christoph Lohmann <>
Date: Wed, 16 Jan 2013 18:36:07 +0100


On Wed, 16 Jan 2013 18:36:07 +0100 "Markus Wichmann" <> wrote:
> Hi all,
> I'm sorry to make my first mail to the list a bug report, but I noticed that the window title is being set incorrectly, namely by way of the XStoreName() function. Unfortunately, that function does not respect the character set of the supplied string (which on my system is UTF-8), and sets the WM_NAME property to be of type STRING.
> OpenBox (the WM I'm using) will then reinterpret the UTF-8 string as being Latin1, with the expected results, namely garbage in the title bar.
> The patch for that is simple enough for me to provide a patch (apologies for additional line breaks, but I'm currently at work and don't have anything better than GMX's webmail to send this). The patch also includes build fixes (undefined variables) and a warning fixed (setenv() not defined due to a feature test macro being undefined):

Thanks. It is applied a bit modified. Can you check that it now works
for your case?


Christoph Lohmann
Received on Wed Jan 16 2013 - 18:36:07 CET

This archive was generated by hypermail 2.3.0 : Wed Jan 16 2013 - 18:48:05 CET