Save X11 window title regardless of unconvertible characters
commitd2cf6912b9c1ddf8e608d3a0f663ffc7a3fec1c2
authorKalle Olavi Niemitalo <kon@iki.fi>
Tue, 12 Apr 2011 21:18:32 +0000 (13 00:18 +0300)
committerKalle Olavi Niemitalo <Kalle@Pulska.kon.iki.fi>
Tue, 12 Apr 2011 21:18:32 +0000 (13 00:18 +0300)
treec09c544ee60ca4c49aab2c15a68f6da86d6e8226
parentd1245c73a8788a1a27e752f5bd36eded85b92a8c
Save X11 window title regardless of unconvertible characters

If Xutf8TextPropertyToTextList or XmbTextPropertyToTextList returns a
positive number, that means some characters were unconvertible and
have been replaced with XDefaultString().  Use the resulting string
even in that case, as if the function had returned Success.
The previous version ignored the string and didn't even free it.
src/osdep/osdep.c