mirror of
https://github.com/0intro/wmii
synced 2024-11-29 00:53:09 +03:00
Set _NET_NUMBER_OF_DESKTOPS properly.
This commit is contained in:
parent
48ee811677
commit
4757b9af11
@ -488,7 +488,7 @@ ewmh_updateviews(void) {
|
|||||||
return;
|
return;
|
||||||
|
|
||||||
vector_pinit(&tags);
|
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, v->name);
|
||||||
vector_ppush(&tags, nil);
|
vector_ppush(&tags, nil);
|
||||||
changeprop_textlist(&scr.root, Net("DESKTOP_NAMES"), "UTF8_STRING", (char**)tags.ary);
|
changeprop_textlist(&scr.root, Net("DESKTOP_NAMES"), "UTF8_STRING", (char**)tags.ary);
|
||||||
|
Loading…
Reference in New Issue
Block a user