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:
Manuel Stoeckl 2023-01-14 14:49:47 -05:00 committed by Simon Ser
parent 2c4bafc57f
commit b4e3a2b0fd

View File

@ -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();