diff options
Diffstat (limited to 'include/sway/tree/view.h')
-rw-r--r-- | include/sway/tree/view.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/sway/tree/view.h b/include/sway/tree/view.h index 620c41e0..37fd02bc 100644 --- a/include/sway/tree/view.h +++ b/include/sway/tree/view.h | |||
@@ -85,6 +85,9 @@ struct sway_view { | |||
85 | bool allow_request_urgent; | 85 | bool allow_request_urgent; |
86 | struct wl_event_source *urgent_timer; | 86 | struct wl_event_source *urgent_timer; |
87 | 87 | ||
88 | struct wlr_buffer *saved_buffer; | ||
89 | int saved_buffer_width, saved_buffer_height; | ||
90 | |||
88 | bool destroying; | 91 | bool destroying; |
89 | 92 | ||
90 | list_t *executed_criteria; // struct criteria * | 93 | list_t *executed_criteria; // struct criteria * |
@@ -339,4 +342,8 @@ void view_set_urgent(struct sway_view *view, bool enable); | |||
339 | 342 | ||
340 | bool view_is_urgent(struct sway_view *view); | 343 | bool view_is_urgent(struct sway_view *view); |
341 | 344 | ||
345 | void view_remove_saved_buffer(struct sway_view *view); | ||
346 | |||
347 | void view_save_buffer(struct sway_view *view); | ||
348 | |||
342 | #endif | 349 | #endif |