mirror of
https://github.com/gwenhael-le-moine/sway-patched-tray-menu.git
synced 2024-12-26 21:58:08 +01:00
parent
2b34ba99d4
commit
800d20611c
1 changed files with 5 additions and 0 deletions
|
@ -570,6 +570,11 @@ void render(struct render_data *render_data) {
|
|||
int wwidth = window->width * window->scale;
|
||||
int wheight = window->height * window->scale;
|
||||
|
||||
cairo_save(window->cairo);
|
||||
cairo_set_operator(window->cairo, CAIRO_OPERATOR_CLEAR);
|
||||
cairo_paint(window->cairo);
|
||||
cairo_restore(window->cairo);
|
||||
|
||||
// Reset the transformation matrix
|
||||
cairo_identity_matrix(window->cairo);
|
||||
|
||||
|
|
Loading…
Reference in a new issue