mirror of
https://github.com/labwc/labwc.git
synced 2026-04-17 06:46:28 -04:00
Window switch, remove workspace name if not all workspaces but using
winfo field.
This commit is contained in:
parent
3228c1ec56
commit
00573bcfa8
1 changed files with 5 additions and 1 deletions
|
|
@ -379,7 +379,11 @@ render_osd(struct server *server, cairo_t *cairo, int w, int h,
|
||||||
buf_add(&buf, get_type(*view));
|
buf_add(&buf, get_type(*view));
|
||||||
break;
|
break;
|
||||||
case LAB_FIELD_WINFO:
|
case LAB_FIELD_WINFO:
|
||||||
buf_add(&buf, (*view)->workspace->name);
|
if (rc.window_switcher.all_workspaces) {
|
||||||
|
buf_add(&buf, (*view)->workspace->name);
|
||||||
|
} else {
|
||||||
|
buf_add(&buf, " ");
|
||||||
|
}
|
||||||
if ((*view)->maximized) {
|
if ((*view)->maximized) {
|
||||||
buf_add(&buf, " M ");
|
buf_add(&buf, " M ");
|
||||||
} else if ((*view)->minimized) {
|
} else if ((*view)->minimized) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue