try utf8 for WM_NAME if locale fails, really the _locale functions in prop.c are busted and should be fixed but i have no idea how.
This commit is contained in:
parent
f532c9a1de
commit
5b288939ab
1 changed files with 2 additions and 1 deletions
|
@ -1535,7 +1535,8 @@ void client_update_title(ObClient *self)
|
||||||
/* try netwm */
|
/* try netwm */
|
||||||
if (!PROP_GETS(self->window, net_wm_name, utf8, &data)) {
|
if (!PROP_GETS(self->window, net_wm_name, utf8, &data)) {
|
||||||
/* try old x stuff */
|
/* try old x stuff */
|
||||||
if (!PROP_GETS(self->window, wm_name, locale, &data)) {
|
if (!PROP_GETS(self->window, wm_name, locale, &data)
|
||||||
|
&& !PROP_GETS(self->window, wm_name, utf8, &data)) {
|
||||||
// http://developer.gnome.org/projects/gup/hig/draft_hig_new/windows-alert.html
|
// http://developer.gnome.org/projects/gup/hig/draft_hig_new/windows-alert.html
|
||||||
if (self->transient) {
|
if (self->transient) {
|
||||||
data = g_strdup("");
|
data = g_strdup("");
|
||||||
|
|
Loading…
Reference in a new issue