mirror of
https://github.com/swaywm/sway.git
synced 2026-04-22 06:46:27 -04:00
Implement for_window support for dim_inactive (#109)
* Implement for_window support for dim_inactive * Update file names, add check if the container is null, add docs * Fix typo * Update meson.build * Update commands.c * Update render.c * Update container.c * Update render.c * Update container.h
This commit is contained in:
parent
e78fc3364b
commit
9f20a52638
12 changed files with 58 additions and 17 deletions
|
|
@ -122,6 +122,7 @@ sway_cmd cmd_commands;
|
|||
sway_cmd cmd_corner_radius;
|
||||
sway_cmd cmd_create_output;
|
||||
sway_cmd cmd_default_border;
|
||||
sway_cmd cmd_default_dim_inactive;
|
||||
sway_cmd cmd_default_floating_border;
|
||||
sway_cmd cmd_default_orientation;
|
||||
sway_cmd cmd_dim_inactive;
|
||||
|
|
|
|||
|
|
@ -477,7 +477,7 @@ struct sway_config {
|
|||
// SwayFX config options
|
||||
int corner_radius;
|
||||
bool smart_corner_radius;
|
||||
float dim_inactive;
|
||||
float default_dim_inactive;
|
||||
// dim_inactive colors
|
||||
struct {
|
||||
float unfocused[4];
|
||||
|
|
|
|||
|
|
@ -120,6 +120,8 @@ struct sway_container {
|
|||
float alpha;
|
||||
|
||||
int corner_radius;
|
||||
|
||||
float dim;
|
||||
|
||||
struct wlr_texture *title_focused;
|
||||
struct wlr_texture *title_focused_inactive;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue