mirror of
https://github.com/swaywm/sway.git
synced 2024-12-28 07:56:31 +01:00
swaylock: remove unused field
This commit is contained in:
parent
32f8ade7ab
commit
df61bfbb57
2 changed files with 0 additions and 2 deletions
|
@ -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;
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue