Fix swaylock crashing when unplugging output

This commit is contained in:
emersion 2018-05-18 19:13:08 +01:00
parent c2c5a3f5f6
commit e4dbafe4d8
No known key found for this signature in database
GPG key ID: 0FDE7BE0E88F5E48
2 changed files with 26 additions and 5 deletions

View file

@ -48,6 +48,7 @@ struct swaylock_surface {
cairo_surface_t *image;
struct swaylock_state *state;
struct wl_output *output;
uint32_t output_global_name;
struct wl_surface *surface;
struct zwlr_layer_surface_v1 *layer_surface;
struct pool_buffer buffers[2];