diff options
-rw-r--r-- | include/swaylock/swaylock.h | 1 | ||||
-rw-r--r-- | swaylock/main.c | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/include/swaylock/swaylock.h b/include/swaylock/swaylock.h index 27db67cd..dae823b8 100644 --- a/include/swaylock/swaylock.h +++ b/include/swaylock/swaylock.h | |||
@@ -39,7 +39,6 @@ struct swaylock_state { | |||
39 | struct wl_list surfaces; | 39 | struct wl_list surfaces; |
40 | struct wl_list images; | 40 | struct wl_list images; |
41 | struct swaylock_args args; | 41 | struct swaylock_args args; |
42 | cairo_surface_t *background_image; | ||
43 | struct swaylock_password password; | 42 | struct swaylock_password password; |
44 | struct swaylock_xkb xkb; | 43 | struct swaylock_xkb xkb; |
45 | enum auth_state auth_state; | 44 | enum auth_state auth_state; |
diff --git a/swaylock/main.c b/swaylock/main.c index 79c06285..f89f2849 100644 --- a/swaylock/main.c +++ b/swaylock/main.c | |||
@@ -226,7 +226,6 @@ static void handle_global(void *data, struct wl_registry *registry, | |||
226 | surface->output = wl_registry_bind(registry, name, | 226 | surface->output = wl_registry_bind(registry, name, |
227 | &wl_output_interface, 3); | 227 | &wl_output_interface, 3); |
228 | surface->output_global_name = name; | 228 | surface->output_global_name = name; |
229 | surface->image = state->background_image; | ||
230 | wl_output_add_listener(surface->output, &_wl_output_listener, surface); | 229 | wl_output_add_listener(surface->output, &_wl_output_listener, surface); |
231 | wl_list_insert(&state->surfaces, &surface->link); | 230 | wl_list_insert(&state->surfaces, &surface->link); |
232 | 231 | ||