mirror of
https://github.com/labwc/labwc.git
synced 2025-11-02 09:01:47 -05:00
src/output.c: support theme.window_inactive_title_bg_color
This commit is contained in:
parent
c7a179f5b3
commit
5bd55570ba
3 changed files with 14 additions and 1 deletions
|
|
@ -52,7 +52,11 @@ static void render_decorations(struct wlr_output *output, struct view *view)
|
|||
draw_rect(&ddata, deco_box(view, LAB_DECO_PART_BOTTOM));
|
||||
draw_rect(&ddata, deco_box(view, LAB_DECO_PART_LEFT));
|
||||
|
||||
ddata.rgba = theme.window_active_title_bg_color;
|
||||
|
||||
if (view_hasfocus(view))
|
||||
ddata.rgba = theme.window_active_title_bg_color;
|
||||
else
|
||||
ddata.rgba = theme.window_inactive_title_bg_color;
|
||||
draw_rect(&ddata, deco_box(view, LAB_DECO_PART_TITLE));
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue