diff options
author | Dan Elkouby | 2019-12-29 14:24:15 +0200 |
---|---|---|
committer | Dan Elkouby | 2019-12-29 15:27:18 +0200 |
commit | 0964327125a8bc35fe18c2f5e8bc22cf6e57c969 (patch) | |
tree | 56c395d10ab9b027a157b41bd29e5b809399dc2e /dont_pulse_mentions.patch | |
parent | 49bd5aa5790a7e0fda365ba49b030f6ea8413af2 (diff) | |
download | aur-0964327125a8bc35fe18c2f5e8bc22cf6e57c969.tar.gz |
Add customizations
Diffstat (limited to 'dont_pulse_mentions.patch')
-rw-r--r-- | dont_pulse_mentions.patch | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/dont_pulse_mentions.patch b/dont_pulse_mentions.patch new file mode 100644 index 000000000000..ec978229ff05 --- /dev/null +++ b/dont_pulse_mentions.patch @@ -0,0 +1,23 @@ +Description: disables visual distractions from incoming mentions +Credits: novie + +diff --git a/Telegram/SourceFiles/history/history_inner_widget.cpp b/Telegram/SourceFiles/history/history_inner_widget.cpp +index 305f9c71d..c0add9da2 100644 +--- a/Telegram/SourceFiles/history/history_inner_widget.cpp ++++ b/Telegram/SourceFiles/history/history_inner_widget.cpp +@@ -626,7 +626,6 @@ void HistoryInner::paintEvent(QPaintEvent *e) { + } + if (item->isUnreadMention() && !item->isUnreadMedia()) { + readMentions.insert(item); +- _widget->enqueueMessageHighlight(view); + } + + int32 h = view->height(); +@@ -672,7 +671,6 @@ void HistoryInner::paintEvent(QPaintEvent *e) { + } + if (item->isUnreadMention() && !item->isUnreadMedia()) { + readMentions.insert(item); +- _widget->enqueueMessageHighlight(view); + } + } + p.translate(0, h); |