mirror of
https://github.com/NickHu/sway
synced 2024-12-28 22:23:30 +01:00
Render floating views
This commit is contained in:
parent
f3ab895916
commit
71db8de4be
1 changed files with 1 additions and 0 deletions
|
@ -818,6 +818,7 @@ static void render_output(struct sway_output *output, struct timespec *when,
|
|||
}
|
||||
} else {
|
||||
float clear_color[] = {0.25f, 0.25f, 0.25f, 1.0f};
|
||||
wlr_renderer_clear(renderer, clear_color);
|
||||
|
||||
int nrects;
|
||||
pixman_box32_t *rects = pixman_region32_rectangles(damage, &nrects);
|
||||
|
|
Loading…
Reference in a new issue