dont use empty desktop names from the rc file
This commit is contained in:
parent
1f71a0db72
commit
5d5156dcb3
1 changed files with 1 additions and 1 deletions
|
@ -938,7 +938,7 @@ void screen_update_desktop_names()
|
|||
it = g_slist_nth(config_desktops_names, i);
|
||||
|
||||
for (; i < screen_num_desktops; ++i) {
|
||||
if (it)
|
||||
if (it && ((char*)it->data)[0]) /* not empty */
|
||||
/* use the names from the config file when possible */
|
||||
screen_desktop_names[i] = g_strdup(it->data);
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue