diff options
author | Drew DeVault <sir@cmpwn.com> | 2018-05-23 18:11:24 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-05-23 18:11:24 -0400 |
commit | 50d1b80d507096ad55e9e2fbb56b31b09b6671dc (patch) | |
tree | 3dc61f6ba02d754e71df1499c406f8586b853f76 /include | |
parent | 12a12878b9883c345dd73752a9cf714aeb245b8a (diff) | |
parent | df61bfbb57ac9f7054dd6fe1c1e9398f0545d76b (diff) |
Merge pull request #2003 from emersion/fix-swaylock-hotplugging
Fix swaylock crashing when plugging/unplugging output
Diffstat (limited to 'include')
-rw-r--r-- | include/swaylock/swaylock.h | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/include/swaylock/swaylock.h b/include/swaylock/swaylock.h index e161ada9..dae823b8 100644 --- a/include/swaylock/swaylock.h +++ b/include/swaylock/swaylock.h @@ -10,13 +10,13 @@ #include "wlr-layer-shell-unstable-v1-client-protocol.h" enum auth_state { - AUTH_STATE_IDLE, - AUTH_STATE_CLEAR, - AUTH_STATE_INPUT, - AUTH_STATE_INPUT_NOP, - AUTH_STATE_BACKSPACE, - AUTH_STATE_VALIDATING, - AUTH_STATE_INVALID, + AUTH_STATE_IDLE, + AUTH_STATE_CLEAR, + AUTH_STATE_INPUT, + AUTH_STATE_INPUT_NOP, + AUTH_STATE_BACKSPACE, + AUTH_STATE_VALIDATING, + AUTH_STATE_INVALID, }; struct swaylock_args { @@ -50,6 +50,7 @@ struct swaylock_surface { cairo_surface_t *image; struct swaylock_state *state; struct wl_output *output; + uint32_t output_global_name; struct zxdg_output_v1 *xdg_output; struct wl_surface *surface; struct zwlr_layer_surface_v1 *layer_surface; |