diff options
author | 2018-05-28 00:14:22 +1000 | |
---|---|---|
committer | 2018-05-28 00:14:22 +1000 | |
commit | 8fda41dab52656c7c4a0db9a835ae57cea994538 (patch) | |
tree | 2b0c481616cd738e0f6ca92be9594eec7707799b /include/swaylock/swaylock.h | |
parent | Implement swap command (diff) | |
parent | Merge pull request #2043 from emersion/pool-buffer-fixes (diff) | |
download | sway-8fda41dab52656c7c4a0db9a835ae57cea994538.tar.gz sway-8fda41dab52656c7c4a0db9a835ae57cea994538.tar.zst sway-8fda41dab52656c7c4a0db9a835ae57cea994538.zip |
Merge branch 'master' into cmd-swap
Diffstat (limited to 'include/swaylock/swaylock.h')
-rw-r--r-- | include/swaylock/swaylock.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/swaylock/swaylock.h b/include/swaylock/swaylock.h index dae823b8..2931fd61 100644 --- a/include/swaylock/swaylock.h +++ b/include/swaylock/swaylock.h | |||
@@ -56,6 +56,7 @@ struct swaylock_surface { | |||
56 | struct zwlr_layer_surface_v1 *layer_surface; | 56 | struct zwlr_layer_surface_v1 *layer_surface; |
57 | struct pool_buffer buffers[2]; | 57 | struct pool_buffer buffers[2]; |
58 | struct pool_buffer *current_buffer; | 58 | struct pool_buffer *current_buffer; |
59 | bool frame_pending, dirty; | ||
59 | uint32_t width, height; | 60 | uint32_t width, height; |
60 | int32_t scale; | 61 | int32_t scale; |
61 | char *output_name; | 62 | char *output_name; |
@@ -74,5 +75,7 @@ void swaylock_handle_key(struct swaylock_state *state, | |||
74 | xkb_keysym_t keysym, uint32_t codepoint); | 75 | xkb_keysym_t keysym, uint32_t codepoint); |
75 | void render_frame(struct swaylock_surface *surface); | 76 | void render_frame(struct swaylock_surface *surface); |
76 | void render_frames(struct swaylock_state *state); | 77 | void render_frames(struct swaylock_state *state); |
78 | void damage_surface(struct swaylock_surface *surface); | ||
79 | void damage_state(struct swaylock_state *state); | ||
77 | 80 | ||
78 | #endif | 81 | #endif |