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.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/sway/tree/view.h b/include/sway/tree/view.h
index 7dc8ac46..e270f851 100644
--- a/include/sway/tree/view.h
+++ b/include/sway/tree/view.h
@@ -35,6 +35,7 @@ struct sway_view_impl {
35 void (*set_tiled)(struct sway_view *view, bool tiled); 35 void (*set_tiled)(struct sway_view *view, bool tiled);
36 void (*set_fullscreen)(struct sway_view *view, bool fullscreen); 36 void (*set_fullscreen)(struct sway_view *view, bool fullscreen);
37 bool (*wants_floating)(struct sway_view *view); 37 bool (*wants_floating)(struct sway_view *view);
38 bool (*has_client_side_decorations)(struct sway_view *view);
38 void (*for_each_surface)(struct sway_view *view, 39 void (*for_each_surface)(struct sway_view *view,
39 wlr_surface_iterator_func_t iterator, void *user_data); 40 wlr_surface_iterator_func_t iterator, void *user_data);
40 void (*close)(struct sway_view *view); 41 void (*close)(struct sway_view *view);
@@ -68,6 +69,11 @@ struct sway_view {
68 bool border_bottom; 69 bool border_bottom;
69 bool border_left; 70 bool border_left;
70 bool border_right; 71 bool border_right;
72 bool using_csd;
73
74 struct timespec urgent;
75 bool allow_request_urgent;
76 struct wl_event_source *urgent_timer;
71 77
72 bool destroying; 78 bool destroying;
73 79
@@ -304,4 +310,8 @@ void view_update_marks_textures(struct sway_view *view);
304 */ 310 */
305bool view_is_visible(struct sway_view *view); 311bool view_is_visible(struct sway_view *view);
306 312
313void view_set_urgent(struct sway_view *view, bool enable);
314
315bool view_is_urgent(struct sway_view *view);
316
307#endif 317#endif