diff options
author | Richard Grenville <[email protected]> | 2013-04-25 22:23:35 +0800 |
---|---|---|
committer | Richard Grenville <[email protected]> | 2013-04-25 22:23:35 +0800 |
commit | ec2cd6276d6b137b946a48f4dffaaecd793bff0f (patch) | |
tree | f86d5b631925c34076115bafc3dfd673046e2b23 /common.h | |
parent | 1dd41253b22c78bf3cd4497895c906fe07cb209b (diff) | |
download | tdebase-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.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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 |