mirror of
https://codeberg.org/dwl/dwl.git
synced 2024-12-27 03:36:31 +00:00
print status about floating and fullscreen
This commit is contained in:
parent
08020d61b7
commit
2cd0b3173d
1 changed files with 7 additions and 1 deletions
8
dwl.c
8
dwl.c
|
@ -1036,6 +1036,7 @@ setfullscreen(Client *c, int fullscreen)
|
||||||
resize(c, c->prev.x, c->prev.y, c->prev.width, c->prev.height, 0);
|
resize(c, c->prev.x, c->prev.y, c->prev.width, c->prev.height, 0);
|
||||||
arrange(c->mon);
|
arrange(c->mon);
|
||||||
}
|
}
|
||||||
|
printstatus();
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
@ -1568,10 +1569,14 @@ printstatus(void)
|
||||||
urg |= c->tags;
|
urg |= c->tags;
|
||||||
}
|
}
|
||||||
if ((c = focustop(m))) {
|
if ((c = focustop(m))) {
|
||||||
printf("%s title %s\n", m->wlr_output->name, client_get_title(focustop(m)));
|
printf("%s title %s\n", m->wlr_output->name, client_get_title(c));
|
||||||
|
printf("%s fullscreen %u\n", m->wlr_output->name, c->isfullscreen);
|
||||||
|
printf("%s floating %u\n", m->wlr_output->name, c->isfloating);
|
||||||
sel = c->tags;
|
sel = c->tags;
|
||||||
} else {
|
} else {
|
||||||
printf("%s title \n", m->wlr_output->name);
|
printf("%s title \n", m->wlr_output->name);
|
||||||
|
printf("%s fullscreen \n", m->wlr_output->name);
|
||||||
|
printf("%s floating \n", m->wlr_output->name);
|
||||||
sel = 0;
|
sel = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1902,6 +1907,7 @@ setfloating(Client *c, int floating)
|
||||||
{
|
{
|
||||||
c->isfloating = floating;
|
c->isfloating = floating;
|
||||||
arrange(c->mon);
|
arrange(c->mon);
|
||||||
|
printstatus();
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|
Loading…
Reference in a new issue