summaryrefslogtreecommitdiffstats
path: root/common.h
diff options
context:
space:
mode:
authorRichard Grenville <pyxlcy@gmail.com>2013-04-27 11:43:11 +0800
committerRichard Grenville <pyxlcy@gmail.com>2013-04-27 11:43:11 +0800
commit5775cefe97e12c7786871b5efc4e3658c97309e5 (patch)
tree89cb72b97b21987fe2faa948c640fc21f769a510 /common.h
parent74d91eb38534746efa0b21f2244ba6b41e5440ba (diff)
downloadtdebase-5775cefe97e12c7786871b5efc4e3658c97309e5.tar.gz
tdebase-5775cefe97e12c7786871b5efc4e3658c97309e5.zip
Improvement: --resize-damage
- Add --resize-damage to enlarge/shrink repaint region by a specific number of pixels, used for solving the line corruption issue with blur. Thanks to Nuck and jerri in #104 for reporting. - Fix the memory leak of blur shader string.
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 04eae104b..2a98253d5 100644
--- a/common.h
+++ b/common.h
@@ -403,6 +403,8 @@ typedef struct {
/// Whether to paint on X Composite overlay window instead of root
/// window.
bool paint_on_overlay;
+ /// Resize damage for a specific number of pixels.
+ int resize_damage;
/// Whether to unredirect all windows if a full-screen opaque window
/// is detected.
bool unredir_if_possible;