summaryrefslogtreecommitdiffstats
path: root/include/sway/tree/view.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/sway/tree/view.h')
-rw-r--r--include/sway/tree/view.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/sway/tree/view.h b/include/sway/tree/view.h
index 0152ed55..0f9b0bb2 100644
--- a/include/sway/tree/view.h
+++ b/include/sway/tree/view.h
@@ -82,6 +82,9 @@ struct sway_view {
82 bool allow_request_urgent; 82 bool allow_request_urgent;
83 struct wl_event_source *urgent_timer; 83 struct wl_event_source *urgent_timer;
84 84
85 struct wlr_buffer *saved_buffer;
86 int saved_buffer_width, saved_buffer_height;
87
85 bool destroying; 88 bool destroying;
86 89
87 list_t *executed_criteria; // struct criteria * 90 list_t *executed_criteria; // struct criteria *
@@ -323,4 +326,8 @@ void view_set_urgent(struct sway_view *view, bool enable);
323 326
324bool view_is_urgent(struct sway_view *view); 327bool view_is_urgent(struct sway_view *view);
325 328
329void view_remove_saved_buffer(struct sway_view *view);
330
331void view_save_buffer(struct sway_view *view);
332
326#endif 333#endif