mirror of
https://github.com/0intro/wmii
synced 2024-11-22 22:02:30 +03:00
Fixed prev commit: '# ~ <screen width> <screen height>' '# <area n> <x> <width>'
This commit is contained in:
parent
97d2c319ce
commit
e5be02b7e9
@ -298,9 +298,11 @@ view_index(View *v) {
|
||||
buf_i = 0;
|
||||
for((a = v->area), (a_i = 0); a; (a=a->next), (a_i++)) {
|
||||
if(a->floating)
|
||||
n = snprintf(&buffer[buf_i], len, "# ~ %d\n", a->rect.width);
|
||||
n = snprintf(&buffer[buf_i], len, "# ~ %d %d\n",
|
||||
a->rect.width, a->rect.height);
|
||||
else
|
||||
n = snprintf(&buffer[buf_i], len, "# %d %d\n", a_i, a->rect.width);
|
||||
n = snprintf(&buffer[buf_i], len, "# %d %d %d\n",
|
||||
a_i, a->rect.x, a->rect.width);
|
||||
buf_i += n;
|
||||
len -= n;
|
||||
for(f=a->frame; f && len > 0; f=f->anext) {
|
||||
|
Loading…
Reference in New Issue
Block a user