mirror of
https://github.com/labwc/labwc.git
synced 2025-11-02 09:01:47 -05:00
osd: add osd.workspace-switcher.boxes.border.width
This commit is contained in:
parent
79b92d821f
commit
4f42b7a12b
5 changed files with 13 additions and 1 deletions
|
|
@ -551,6 +551,7 @@ theme_builtin(struct theme *theme, struct server *server)
|
|||
|
||||
theme->osd_workspace_switcher_boxes_width = 20;
|
||||
theme->osd_workspace_switcher_boxes_height = 20;
|
||||
theme->osd_workspace_switcher_boxes_border_width = 2;
|
||||
|
||||
/* inherit settings in post_processing() if not set elsewhere */
|
||||
theme->osd_bg_color[0] = FLT_MIN;
|
||||
|
|
@ -903,6 +904,11 @@ entry(struct theme *theme, const char *key, const char *value)
|
|||
get_int_if_positive(
|
||||
value, "osd.workspace-switcher.boxes.height");
|
||||
}
|
||||
if (match_glob(key, "osd.workspace-switcher.boxes.border.width")) {
|
||||
theme->osd_workspace_switcher_boxes_border_width =
|
||||
get_int_if_positive(
|
||||
value, "osd.workspace-switcher.boxes.border.width");
|
||||
}
|
||||
if (match_glob(key, "osd.label.text.color")) {
|
||||
parse_hexstr(value, theme->osd_label_text_color);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue