summaryrefslogtreecommitdiff
path: root/render.c
diff options
context:
space:
mode:
Diffstat (limited to 'render.c')
-rw-r--r--render.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/render.c b/render.c
index 62628ce..fee2a4b 100644
--- a/render.c
+++ b/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();