diff options
author | emersion <contact@emersion.fr> | 2018-05-23 22:58:39 +0100 |
---|---|---|
committer | emersion <contact@emersion.fr> | 2018-05-23 22:59:24 +0100 |
commit | df61bfbb57ac9f7054dd6fe1c1e9398f0545d76b (patch) | |
tree | 3dc61f6ba02d754e71df1499c406f8586b853f76 | |
parent | 32f8ade7ab6228835144b519d927fd1eeaa2333a (diff) | |
download | sway-df61bfbb57ac9f7054dd6fe1c1e9398f0545d76b.tar.xz |
swaylock: remove unused field
-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 { struct wl_list surfaces; struct wl_list images; struct swaylock_args args; - cairo_surface_t *background_image; struct swaylock_password password; struct swaylock_xkb xkb; 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, surface->output = wl_registry_bind(registry, name, &wl_output_interface, 3); surface->output_global_name = name; - surface->image = state->background_image; wl_output_add_listener(surface->output, &_wl_output_listener, surface); wl_list_insert(&state->surfaces, &surface->link); |