diff options
author | Drew DeVault <sir@cmpwn.com> | 2018-03-30 18:53:36 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-03-30 18:53:36 -0400 |
commit | 1b88eaee6b14987c585fcf149cc26f665c584d77 (patch) | |
tree | 047052218c4f19701f29c4e5547856f445670c5b /include/sway/tree/view.h | |
parent | e6fa7a722e9329b1e61ff2977ae715da3c2d9c9b (diff) | |
parent | 139f80b0f03cd772e408604203df81f285ca3f67 (diff) |
Merge pull request #1665 from emersion/damage-tracking-lite
Add lite damage tracking
Diffstat (limited to 'include/sway/tree/view.h')
-rw-r--r-- | include/sway/tree/view.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/include/sway/tree/view.h b/include/sway/tree/view.h index 54f6d90e..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; 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 |