aboutsummaryrefslogtreecommitdiffstats
path: root/include/sway/tree/view.h
diff options
context:
space:
mode:
authorLibravatar Alexander Orzechowski <orzechowski.alexander@gmail.com>2023-04-06 22:23:53 +0200
committerLibravatar Kirill Primak <vyivel@eclair.cafe>2024-01-18 18:36:54 +0300
commit1e018e72b4d57c8f354b9be9686a7a75797cdcab (patch)
tree46e6c588d30ddfc43793d1980b38b8d53bf9bdd7 /include/sway/tree/view.h
parentscene_graph: Port view saved buffers (diff)
downloadsway-1e018e72b4d57c8f354b9be9686a7a75797cdcab.tar.gz
sway-1e018e72b4d57c8f354b9be9686a7a75797cdcab.tar.zst
sway-1e018e72b4d57c8f354b9be9686a7a75797cdcab.zip
Delete old damage tracking code
The new scene graph abstraction handles this for us.
Diffstat (limited to 'include/sway/tree/view.h')
-rw-r--r--include/sway/tree/view.h18
1 files changed, 0 insertions, 18 deletions
diff --git a/include/sway/tree/view.h b/include/sway/tree/view.h
index 66d6db1c..80097dd3 100644
--- a/include/sway/tree/view.h
+++ b/include/sway/tree/view.h
@@ -46,10 +46,6 @@ struct sway_view_impl {
46 void (*set_fullscreen)(struct sway_view *view, bool fullscreen); 46 void (*set_fullscreen)(struct sway_view *view, bool fullscreen);
47 void (*set_resizing)(struct sway_view *view, bool resizing); 47 void (*set_resizing)(struct sway_view *view, bool resizing);
48 bool (*wants_floating)(struct sway_view *view); 48 bool (*wants_floating)(struct sway_view *view);
49 void (*for_each_surface)(struct sway_view *view,
50 wlr_surface_iterator_func_t iterator, void *user_data);
51 void (*for_each_popup_surface)(struct sway_view *view,
52 wlr_surface_iterator_func_t iterator, void *user_data);
53 bool (*is_transient_for)(struct sway_view *child, 49 bool (*is_transient_for)(struct sway_view *child,
54 struct sway_view *ancestor); 50 struct sway_view *ancestor);
55 void (*close)(struct sway_view *view); 51 void (*close)(struct sway_view *view);
@@ -254,20 +250,6 @@ void view_close(struct sway_view *view);
254 250
255void view_close_popups(struct sway_view *view); 251void view_close_popups(struct sway_view *view);
256 252
257void view_damage_from(struct sway_view *view);
258
259/**
260 * Iterate all surfaces of a view (toplevels + popups).
261 */
262void view_for_each_surface(struct sway_view *view,
263 wlr_surface_iterator_func_t iterator, void *user_data);
264
265/**
266 * Iterate all popup surfaces of a view.
267 */
268void view_for_each_popup_surface(struct sway_view *view,
269 wlr_surface_iterator_func_t iterator, void *user_data);
270
271// view implementation 253// view implementation
272 254
273bool view_init(struct sway_view *view, enum sway_view_type type, 255bool view_init(struct sway_view *view, enum sway_view_type type,