aboutsummaryrefslogtreecommitdiff
path: root/include/sway/tree/view.h
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2018-03-30 19:04:06 -0400
committeremersion <contact@emersion.fr>2018-03-30 19:04:06 -0400
commit96656427656118f2e4d725359cc880270b0e51be (patch)
treee2596e9cfa113efa43f2a411176c31e6208a58b1 /include/sway/tree/view.h
parent6c9d67b1059409750de683aec3b8b9be2da987cc (diff)
parent1b88eaee6b14987c585fcf149cc26f665c584d77 (diff)
Merge branch 'wlroots' into client-cursors
Diffstat (limited to 'include/sway/tree/view.h')
-rw-r--r--include/sway/tree/view.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/include/sway/tree/view.h b/include/sway/tree/view.h
index e5f53f4e..3965d2b7 100644
--- a/include/sway/tree/view.h
+++ b/include/sway/tree/view.h
@@ -15,6 +15,8 @@ struct sway_xdg_surface_v6 {
struct wl_listener request_move;
struct wl_listener request_resize;
struct wl_listener request_maximize;
+ struct wl_listener map;
+ struct wl_listener unmap;
struct wl_listener destroy;
int pending_width, pending_height;
@@ -28,8 +30,8 @@ struct sway_xwayland_surface {
struct wl_listener request_resize;
struct wl_listener request_maximize;
struct wl_listener request_configure;
- struct wl_listener unmap_notify;
- struct wl_listener map_notify;
+ struct wl_listener map;
+ struct wl_listener unmap;
struct wl_listener destroy;
int pending_width, pending_height;
@@ -113,4 +115,8 @@ void view_close(struct sway_view *view);
void view_update_outputs(struct sway_view *view, const struct wlr_box *before);
+void view_damage_whole(struct sway_view *view);
+
+void view_damage_from(struct sway_view *view);
+
#endif