mirror of https://github.com/0intro/wmii
jump to the correct view (intstead of the last one) on new view creation (issue reported by DenisG)
This commit is contained in:
parent
7b509ce08b
commit
05964332e1
|
@ -32,9 +32,9 @@ create_view(char *name)
|
|||
cext_strlcpy(v->name, name, sizeof(v->name));
|
||||
create_area(v);
|
||||
create_area(v);
|
||||
sel = view.size;
|
||||
cext_vattach(vector_of_views(&view), v);
|
||||
qsort(view.data, view.size, sizeof(View *), comp_view_name);
|
||||
sel = idx_of_view(v);
|
||||
return v;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue