diff options
author | Erik Reider <[email protected]> | 2023-02-01 01:13:04 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2023-02-01 01:13:04 +0100 |
commit | 3efd3b558fe49bc7a7f3c30c19783e3fe5efeb24 (patch) | |
tree | 99c1dc3c7e7232ba204a80e1dab48ab7cc522524 /include | |
parent | 9345749a9047b088893347abba7be5a4dcc7f7ac (diff) |
Add option for enabling shadows for CSD windows (#106)
* Add option for enabling shadows for CSD windows
* Disable drawing borders when CSD and shadows csd is enabled
Diffstat (limited to 'include')
-rw-r--r-- | include/sway/commands.h | 1 | ||||
-rw-r--r-- | include/sway/config.h | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/include/sway/commands.h b/include/sway/commands.h index fa6e45f5..bd3cd471 100644 --- a/include/sway/commands.h +++ b/include/sway/commands.h @@ -181,6 +181,7 @@ sway_cmd cmd_shortcuts_inhibitor; sway_cmd cmd_shadow_blur_radius; sway_cmd cmd_shadow_color; sway_cmd cmd_shadows; +sway_cmd cmd_shadows_on_csd; sway_cmd cmd_show_marks; sway_cmd cmd_smart_borders; sway_cmd cmd_smart_corner_radius; diff --git a/include/sway/config.h b/include/sway/config.h index 3525dd54..c8ba7162 100644 --- a/include/sway/config.h +++ b/include/sway/config.h @@ -484,6 +484,7 @@ struct sway_config { float urgent[4]; } dim_inactive_colors; bool shadow_enabled; + bool shadows_on_csd_enabled; int shadow_blur_sigma; float shadow_color[4]; |