From 988fb247107c469bb98ce3088ad189fa12db7cdd Mon Sep 17 00:00:00 2001 From: Erik Reider <35975961+ErikReider@users.noreply.github.com> Date: Wed, 7 Dec 2022 06:10:11 +0100 Subject: [Feature] Dim inactive windows (#66) --- include/sway/desktop/fx_renderer.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include/sway/desktop/fx_renderer.h') diff --git a/include/sway/desktop/fx_renderer.h b/include/sway/desktop/fx_renderer.h index 05b4458d..c5bae260 100644 --- a/include/sway/desktop/fx_renderer.h +++ b/include/sway/desktop/fx_renderer.h @@ -11,6 +11,8 @@ struct decoration_data { float alpha; float saturation; int corner_radius; + float dim; + float* dim_color; bool has_titlebar; }; @@ -25,6 +27,8 @@ struct gles2_tex_shader { GLint position; GLint radius; GLint saturation; + GLint dim; + GLint dim_color; GLint has_titlebar; }; -- cgit v1.2.3