summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorLibravatar emersion <contact@emersion.fr>2018-05-18 19:13:08 +0100
committerLibravatar emersion <contact@emersion.fr>2018-05-18 19:13:08 +0100
commite4dbafe4d84c8666a2f658fd195a47d13ae42378 (patch)
treedc8cae3d93a5246b8003ee8efb5b5d200dbb214f /include
parentMerge pull request #1982 from RyanDwyer/show-marks (diff)
downloadsway-e4dbafe4d84c8666a2f658fd195a47d13ae42378.tar.gz
sway-e4dbafe4d84c8666a2f658fd195a47d13ae42378.tar.zst
sway-e4dbafe4d84c8666a2f658fd195a47d13ae42378.zip
Fix swaylock crashing when unplugging output
Diffstat (limited to 'include')
-rw-r--r--include/swaylock/swaylock.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/swaylock/swaylock.h b/include/swaylock/swaylock.h
index 07b908d7..a82d6b86 100644
--- a/include/swaylock/swaylock.h
+++ b/include/swaylock/swaylock.h
@@ -48,6 +48,7 @@ struct swaylock_surface {
48 cairo_surface_t *image; 48 cairo_surface_t *image;
49 struct swaylock_state *state; 49 struct swaylock_state *state;
50 struct wl_output *output; 50 struct wl_output *output;
51 uint32_t output_global_name;
51 struct wl_surface *surface; 52 struct wl_surface *surface;
52 struct zwlr_layer_surface_v1 *layer_surface; 53 struct zwlr_layer_surface_v1 *layer_surface;
53 struct pool_buffer buffers[2]; 54 struct pool_buffer buffers[2];