mirror of
https://github.com/labwc/labwc.git
synced 2026-04-18 06:46:46 -04:00
Handle the highlights on the window switcher with a different bevel that doesn't involve leaving crumbs
This commit is contained in:
parent
8c46add98a
commit
25b5ad08e4
7 changed files with 42 additions and 27 deletions
|
|
@ -120,6 +120,7 @@ cycle_osd_classic_init(struct cycle_osd_output *osd_output)
|
|||
.bg_color = bg_color,
|
||||
.width = w,
|
||||
.height = h,
|
||||
.beveled = 1,
|
||||
};
|
||||
lab_scene_rect_create(osd_output->tree, &bg_opts);
|
||||
|
||||
|
|
@ -202,6 +203,7 @@ cycle_osd_classic_init(struct cycle_osd_output *osd_output)
|
|||
.bg_color = active_bg_color,
|
||||
.width = w - 2 * padding,
|
||||
.height = switcher_theme->item_height,
|
||||
.beveled = 2,
|
||||
};
|
||||
struct lab_scene_rect *highlight_rect = lab_scene_rect_create(
|
||||
item->active_tree, &highlight_opts);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue