From c33f352198755f80705121e7ee9e5e35cb37b928 Mon Sep 17 00:00:00 2001
From: Pavel Kirilin <win10@list.ru>
Date: Fri, 31 Jul 2020 18:43:11 +0400
Subject: [PATCH] Fixed rendering artifacts.

Signed-off-by: Pavel Kirilin <win10@list.ru>
---
 dotfiles/.picom.conf | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/dotfiles/.picom.conf b/dotfiles/.picom.conf
index d9c3ae0..0c4cc01 100644
--- a/dotfiles/.picom.conf
+++ b/dotfiles/.picom.conf
@@ -1,6 +1,8 @@
 # Thank you code_nomad: http://9m.no/ꪯ鵞
 # and Arch Wiki contributors: https://wiki.archlinux.org/index.php/Compton
 
+# Fix for blurred overlapped windows.
+use-damage = false;
 #################################
 #
 # Backend
@@ -87,6 +89,7 @@ shadow-exclude = [
     "name *= 'Chromium'",
     "name *= 'Chrome'",
     "name *= 'maim'",
+    "class_g = 'TelegramDesktop'",
     "class_g = 'Firefox' && argb",
     "class_g = 'Conky'",
     "class_g = 'Kupfer'",
@@ -123,6 +126,7 @@ blur-background = true;
 # Do not let blur radius adjust based on window opacity.
 blur-background-fixed = false;
 blur-background-exclude = [
+    "class_g = 'TelegramDesktop'",
     "window_type = 'dock'",
     "window_type = 'desktop'",
     "name *= 'slop'"
-- 
GitLab