From 3efd3b558fe49bc7a7f3c30c19783e3fe5efeb24 Mon Sep 17 00:00:00 2001 From: Erik Reider <35975961+ErikReider@users.noreply.github.com> Date: Wed, 1 Feb 2023 01:13:04 +0100 Subject: 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 --- include/sway/commands.h | 1 + include/sway/config.h | 1 + 2 files changed, 2 insertions(+) (limited to 'include/sway') 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]; -- cgit v1.2.3