summaryrefslogtreecommitdiffstats
path: root/common.h
diff options
context:
space:
mode:
authorRichard Grenville <[email protected]>2013-04-25 22:23:35 +0800
committerRichard Grenville <[email protected]>2013-04-25 22:23:35 +0800
commitec2cd6276d6b137b946a48f4dffaaecd793bff0f (patch)
treef86d5b631925c34076115bafc3dfd673046e2b23 /common.h
parent1dd41253b22c78bf3cd4497895c906fe07cb209b (diff)
downloadtdebase-ec2cd6276d6b137b946a48f4dffaaecd793bff0f.tar.gz
tdebase-ec2cd6276d6b137b946a48f4dffaaecd793bff0f.zip
Improvement: --blur-kern
- Add blur convolution kernel customization, --blur-kern. The format is a bit tricky so be sure to read the description in `compton -h`. Not much tests received. - GLX backend: Tolerate missing GLSL uniforms for strangely shaped convolution kernel. - Fix a memory leak that blur-background blacklist is not freed.
Diffstat (limited to 'common.h')
-rw-r--r--common.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/common.h b/common.h
index 3058b4d58..6e8c4cf5f 100644
--- a/common.h
+++ b/common.h
@@ -483,6 +483,8 @@ typedef struct {
bool blur_background_fixed;
/// Background blur blacklist. A linked list of conditions.
c2_lptr_t *blur_background_blacklist;
+ /// Blur convolution kernel.
+ XFixed *blur_kern;
/// How much to dim an inactive window. 0.0 - 1.0, 0 to disable.
double inactive_dim;
/// Whether to use fixed inactive dim opacity, instead of deciding