mirror of
https://github.com/Llewellynvdm/conky.git
synced 2025-01-28 17:48:39 +00:00
wayland: fix clean_text bug
The current wayland display's clean_text function is missing cairo_fill to actually clear the background, causing the text to overlap. Signed-off-by: Leo Chung <gewalalb@gmail.com>
This commit is contained in:
parent
caf2a2ed6b
commit
79e68cc730
@ -926,6 +926,7 @@ void display_output_wayland::clear_text(int exposures) {
|
||||
cairo_set_operator(window->cr, CAIRO_OPERATOR_CLEAR);
|
||||
cairo_rectangle(window->cr, 0, 0, window->rectangle.width(),
|
||||
window->rectangle.height());
|
||||
cairo_fill(window->cr);
|
||||
cairo_restore(window->cr);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user