aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2018-01-18 16:30:56 +0100
committeremersion <contact@emersion.fr>2018-01-18 16:30:56 +0100
commit96d6f34eddbd0159e347d41e5c20c74a0600e878 (patch)
tree0563a2b5e07e7a388ac29b24732cf2eb616c6006 /include
parent7f5a538cb73eb20fa37ff98161d45a3a383622aa (diff)
rootston: replace view_damage with view_apply_damage and view_damage_whole
Diffstat (limited to 'include')
-rw-r--r--include/rootston/desktop.h3
-rw-r--r--include/rootston/output.h5
2 files changed, 6 insertions, 2 deletions
diff --git a/include/rootston/desktop.h b/include/rootston/desktop.h
index c0790917..812bb42a 100644
--- a/include/rootston/desktop.h
+++ b/include/rootston/desktop.h
@@ -66,7 +66,8 @@ struct roots_view *desktop_view_at(struct roots_desktop *desktop, double lx,
void view_init(struct roots_view *view, struct roots_desktop *desktop);
void view_destroy(struct roots_view *view);
void view_activate(struct roots_view *view, bool activate);
-void view_damage(struct roots_view *view);
+void view_apply_damage(struct roots_view *view);
+void view_damage_whole(struct roots_view *view);
void view_update_position(struct roots_view *view, double x, double y);
void handle_xdg_shell_v6_surface(struct wl_listener *listener, void *data);
diff --git a/include/rootston/output.h b/include/rootston/output.h
index e8c64c3e..cf34496b 100644
--- a/include/rootston/output.h
+++ b/include/rootston/output.h
@@ -23,6 +23,9 @@ struct roots_output {
void output_add_notify(struct wl_listener *listener, void *data);
void output_remove_notify(struct wl_listener *listener, void *data);
-void output_damage_view(struct roots_output *output, struct roots_view *view);
+void output_damage_whole_view(struct roots_output *output,
+ struct roots_view *view);
+void output_damage_from_view(struct roots_output *output,
+ struct roots_view *view);
#endif