mirror of
https://github.com/labwc/labwc.git
synced 2025-10-29 05:40:24 -04:00
menu: add brackets around minimised window titles in client-list menu (#3002)
This commit is contained in:
parent
657c08aaa1
commit
4d1be7eada
1 changed files with 5 additions and 2 deletions
|
|
@ -907,8 +907,11 @@ update_client_list_combined_menu(struct server *server)
|
|||
if (view == server->active_view) {
|
||||
buf_add(&buffer, "*");
|
||||
}
|
||||
buf_add(&buffer, title);
|
||||
|
||||
if (view->minimized) {
|
||||
buf_add_fmt(&buffer, "(%s)", title);
|
||||
} else {
|
||||
buf_add(&buffer, title);
|
||||
}
|
||||
item = item_create(menu, buffer.data, NULL,
|
||||
/*show arrow*/ false);
|
||||
item->client_list_view = view;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue