1
0
mirror of https://github.com/Llewellynvdm/conky.git synced 2024-11-17 10:35:10 +00:00

Fix conky window crawling

The conky window is crawling when some other is moving around it.

To reproduce this bug run conky with the following config:

   double_buffer yes

   TEXT
   TEST

And slowly move other window near conky window.

The bug was introduced in e2bd14e7b7.

Reported and patch by: George V. Kouryachy (Fr. Br. George) <george@altlinux.org>
This commit is contained in:
Vladimir D. Seleznev 2021-02-01 21:46:54 +03:00 committed by Brenden Matthews
parent 68868f4cc0
commit 8ce3855b50

View File

@ -1802,7 +1802,6 @@ static void draw_stuff() {
selected_font = 0;
if (draw_shades.get(*state) && !draw_outline.get(*state)) {
text_offset_x = text_offset_y = 1;
text_start_y++;
set_foreground_color(default_shade_color.get(*state));
draw_mode = BG;
draw_text();