Set _NET_NUMBER_OF_DESKTOPS properly.

This commit is contained in:
Kris Maglione 2010-01-25 02:01:19 -05:00
parent 48ee811677
commit 4757b9af11

View File

@ -488,7 +488,7 @@ ewmh_updateviews(void) {
return;
vector_pinit(&tags);
for(v=view, i=0; v; v=v->next)
for(v=view, i=0; v; v=v->next, i++)
vector_ppush(&tags, v->name);
vector_ppush(&tags, nil);
changeprop_textlist(&scr.root, Net("DESKTOP_NAMES"), "UTF8_STRING", (char**)tags.ary);