diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/swaylock/swaylock.h | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/include/swaylock/swaylock.h b/include/swaylock/swaylock.h index e161ada9..27db67cd 100644 --- a/include/swaylock/swaylock.h +++ b/include/swaylock/swaylock.h | |||
@@ -10,13 +10,13 @@ | |||
10 | #include "wlr-layer-shell-unstable-v1-client-protocol.h" | 10 | #include "wlr-layer-shell-unstable-v1-client-protocol.h" |
11 | 11 | ||
12 | enum auth_state { | 12 | enum auth_state { |
13 | AUTH_STATE_IDLE, | 13 | AUTH_STATE_IDLE, |
14 | AUTH_STATE_CLEAR, | 14 | AUTH_STATE_CLEAR, |
15 | AUTH_STATE_INPUT, | 15 | AUTH_STATE_INPUT, |
16 | AUTH_STATE_INPUT_NOP, | 16 | AUTH_STATE_INPUT_NOP, |
17 | AUTH_STATE_BACKSPACE, | 17 | AUTH_STATE_BACKSPACE, |
18 | AUTH_STATE_VALIDATING, | 18 | AUTH_STATE_VALIDATING, |
19 | AUTH_STATE_INVALID, | 19 | AUTH_STATE_INVALID, |
20 | }; | 20 | }; |
21 | 21 | ||
22 | struct swaylock_args { | 22 | struct swaylock_args { |
@@ -39,6 +39,7 @@ struct swaylock_state { | |||
39 | struct wl_list surfaces; | 39 | struct wl_list surfaces; |
40 | struct wl_list images; | 40 | struct wl_list images; |
41 | struct swaylock_args args; | 41 | struct swaylock_args args; |
42 | cairo_surface_t *background_image; | ||
42 | struct swaylock_password password; | 43 | struct swaylock_password password; |
43 | struct swaylock_xkb xkb; | 44 | struct swaylock_xkb xkb; |
44 | enum auth_state auth_state; | 45 | enum auth_state auth_state; |
@@ -50,6 +51,7 @@ struct swaylock_surface { | |||
50 | cairo_surface_t *image; | 51 | cairo_surface_t *image; |
51 | struct swaylock_state *state; | 52 | struct swaylock_state *state; |
52 | struct wl_output *output; | 53 | struct wl_output *output; |
54 | uint32_t output_global_name; | ||
53 | struct zxdg_output_v1 *xdg_output; | 55 | struct zxdg_output_v1 *xdg_output; |
54 | struct wl_surface *surface; | 56 | struct wl_surface *surface; |
55 | struct zwlr_layer_surface_v1 *layer_surface; | 57 | struct zwlr_layer_surface_v1 *layer_surface; |