diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/pool-buffer.h | 2 | ||||
-rw-r--r-- | include/sway/criteria.h | 1 | ||||
-rw-r--r-- | include/sway/tree/view.h | 2 | ||||
-rw-r--r-- | include/swaylock/swaylock.h | 3 |
4 files changed, 7 insertions, 1 deletions
diff --git a/include/pool-buffer.h b/include/pool-buffer.h index 856f7c8c..54f5be06 100644 --- a/include/pool-buffer.h +++ b/include/pool-buffer.h | |||
@@ -12,6 +12,8 @@ struct pool_buffer { | |||
12 | cairo_t *cairo; | 12 | cairo_t *cairo; |
13 | PangoContext *pango; | 13 | PangoContext *pango; |
14 | uint32_t width, height; | 14 | uint32_t width, height; |
15 | void *data; | ||
16 | size_t size; | ||
15 | bool busy; | 17 | bool busy; |
16 | }; | 18 | }; |
17 | 19 | ||
diff --git a/include/sway/criteria.h b/include/sway/criteria.h index 74da132c..bd3ca0ac 100644 --- a/include/sway/criteria.h +++ b/include/sway/criteria.h | |||
@@ -18,6 +18,7 @@ struct criteria { | |||
18 | char *target; // workspace or output name for `assign` criteria | 18 | char *target; // workspace or output name for `assign` criteria |
19 | 19 | ||
20 | pcre *title; | 20 | pcre *title; |
21 | pcre *shell; | ||
21 | pcre *app_id; | 22 | pcre *app_id; |
22 | pcre *class; | 23 | pcre *class; |
23 | pcre *instance; | 24 | pcre *instance; |
diff --git a/include/sway/tree/view.h b/include/sway/tree/view.h index 0fb8f1b3..a8bf4955 100644 --- a/include/sway/tree/view.h +++ b/include/sway/tree/view.h | |||
@@ -201,7 +201,7 @@ const char *view_get_window_role(struct sway_view *view); | |||
201 | 201 | ||
202 | uint32_t view_get_window_type(struct sway_view *view); | 202 | uint32_t view_get_window_type(struct sway_view *view); |
203 | 203 | ||
204 | const char *view_get_type(struct sway_view *view); | 204 | const char *view_get_shell(struct sway_view *view); |
205 | 205 | ||
206 | void view_configure(struct sway_view *view, double ox, double oy, int width, | 206 | void view_configure(struct sway_view *view, double ox, double oy, int width, |
207 | int height); | 207 | int height); |
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 |