Remove overridden surface attachment
The removed lines had no effect, since later in `render_frame` buffer->buffer is attached to surface->child.
This commit is contained in:
parent
2c4bafc57f
commit
b4e3a2b0fd
4
render.c
4
render.c
@ -108,10 +108,6 @@ void render_frame(struct swaylock_surface *surface) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Hide subsurface until we want it visible
|
||||
wl_surface_attach(surface->child, NULL, 0, 0);
|
||||
wl_surface_commit(surface->child);
|
||||
|
||||
cairo_t *cairo = buffer->cairo;
|
||||
cairo_set_antialias(cairo, CAIRO_ANTIALIAS_BEST);
|
||||
cairo_font_options_t *fo = cairo_font_options_create();
|
||||
|
Loading…
Reference in New Issue
Block a user