diff options
| author | Manuel Stoeckl <code@mstoeckl.com> | 2023-01-14 14:49:47 -0500 |
|---|---|---|
| committer | Simon Ser <contact@emersion.fr> | 2023-01-27 12:19:32 +0100 |
| commit | b4e3a2b0fdda3fcbc40e19c94bb7a7961aa7653c (patch) | |
| tree | b9fc258b2dad05f29fa776037a695439c3349980 /render.c | |
| parent | 2c4bafc57f278fbd2a564c357da410173be28bc6 (diff) | |
Remove overridden surface attachment
The removed lines had no effect, since later in `render_frame`
buffer->buffer is attached to surface->child.
Diffstat (limited to 'render.c')
| -rw-r--r-- | render.c | 4 |
1 files changed, 0 insertions, 4 deletions
@@ -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(); |
