mirror of
https://github.com/labwc/labwc.git
synced 2026-02-11 04:27:51 -05:00
theme: replace THEME_(IN)ACTIVE with SSD_(IN)ACTIVE
Some checks failed
labwc.github.io / notify (push) Has been cancelled
Some checks failed
labwc.github.io / notify (push) Has been cancelled
This commit is contained in:
parent
c78a0fe1b4
commit
89fab2d449
4 changed files with 79 additions and 80 deletions
|
|
@ -259,8 +259,8 @@ ssd_shadow_update(struct ssd *ssd)
|
|||
bool maximized = view->maximized == VIEW_AXIS_BOTH;
|
||||
bool tiled_shadows = false;
|
||||
if (rc.shadows_on_tiled) {
|
||||
if (rc.gap >= theme->window[THEME_ACTIVE].shadow_size
|
||||
&& rc.gap >= theme->window[THEME_INACTIVE].shadow_size) {
|
||||
if (rc.gap >= theme->window[SSD_ACTIVE].shadow_size
|
||||
&& rc.gap >= theme->window[SSD_INACTIVE].shadow_size) {
|
||||
tiled_shadows = true;
|
||||
} else {
|
||||
wlr_log(WLR_INFO, "gap size < shadow_size, ignore rc.shadows_ontiled");
|
||||
|
|
|
|||
|
|
@ -348,7 +348,7 @@ ssd_enable_keybind_inhibit_indicator(struct ssd *ssd, bool enable)
|
|||
|
||||
float *color = enable
|
||||
? rc.theme->window_toggled_keybinds_color
|
||||
: rc.theme->window[THEME_ACTIVE].border_color;
|
||||
: rc.theme->window[SSD_ACTIVE].border_color;
|
||||
wlr_scene_rect_set_color(ssd->border.subtrees[SSD_ACTIVE].top, color);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue