Skip to content

Commit 79e68cc

Browse files
bl4kravenbrndnmtthws
authored andcommitted
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 <[email protected]>
1 parent caf2a2e commit 79e68cc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/display-wayland.cc

+1
Original file line numberDiff line numberDiff line change
@@ -926,6 +926,7 @@ void display_output_wayland::clear_text(int exposures) {
926926
cairo_set_operator(window->cr, CAIRO_OPERATOR_CLEAR);
927927
cairo_rectangle(window->cr, 0, 0, window->rectangle.width(),
928928
window->rectangle.height());
929+
cairo_fill(window->cr);
929930
cairo_restore(window->cr);
930931
}
931932

0 commit comments

Comments
 (0)