mirror of
https://github.com/swaywm/sway.git
synced 2024-11-27 02:11:28 +00:00
Render floating views
This commit is contained in:
parent
f3ab895916
commit
71db8de4be
|
@ -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