patch: dim-unfocused
This commit is contained in:
parent
01082b4d9e
commit
e3f8b3e1db
5 changed files with 284 additions and 16 deletions
6
client.h
6
client.h
|
|
@ -318,6 +318,12 @@ client_set_border_color(Client *c, const float color[static 4])
|
|||
wlr_scene_rect_set_color(c->border[i], color);
|
||||
}
|
||||
|
||||
static inline void
|
||||
client_set_dimmer_state(Client *c, const int dim)
|
||||
{
|
||||
wlr_scene_node_set_enabled(&c->dimmer->node, DIMOPT && !c->neverdim && dim);
|
||||
}
|
||||
|
||||
static inline void
|
||||
client_set_fullscreen(Client *c, int fullscreen)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue