Improvement: Dynamic blur strength & improved frame blur performance

- Remove the region expansion design in win_blur_background(). I must be
  sleep-walking when I wrote that!

- Improve performance of blurring when a window is opaque but its frame
  is transparent.

- Adjust blur strength according to window opacity.
  --blur-background-fixed restores the old behavior.

- Add "use_offset" parameter to a few functions for convenience. Code
  clean-up.
This commit is contained in:
Richard Grenville
2012-12-15 20:07:45 +08:00
parent 22cabf7c89
commit 1bfe21efb5
3 changed files with 73 additions and 38 deletions

View File

@@ -24,6 +24,7 @@ alpha-step = 0.06;
# inactive-dim-fixed = true;
# blur-background = true;
# blur-background-frame = true;
blur-background-fixed = false;
# Fading
fading = true;