diff options
author | emersion <contact@emersion.fr> | 2018-01-28 10:11:31 +0100 |
---|---|---|
committer | emersion <contact@emersion.fr> | 2018-01-28 10:11:31 +0100 |
commit | 63736be2143a1821fe0b378e56c7e70f1f3cafec (patch) | |
tree | 86cdddae4c9651a1f1042588c02854636cea2f76 /include/rootston/view.h | |
parent | 861d5bdff2e33e453fdddc26cdeef2233c2f8ea7 (diff) |
rootston: fix damage tracking for SSD
Diffstat (limited to 'include/rootston/view.h')
-rw-r--r-- | include/rootston/view.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/include/rootston/view.h b/include/rootston/view.h index c9d1deb2..9312c8c3 100644 --- a/include/rootston/view.h +++ b/include/rootston/view.h @@ -62,6 +62,7 @@ struct roots_view { struct wl_list link; // roots_desktop::views double x, y; + uint32_t width, height; float rotation; bool decorated; @@ -108,11 +109,7 @@ struct roots_view { struct wl_signal destroy; } events; - // TODO: This would probably be better as a field that's updated on a - // configure event from the xdg_shell - // If not then this should follow the typical type/impl pattern we use - // elsewhere - void (*get_size)(const struct roots_view *view, struct wlr_box *box); + // TODO: this should follow the typical type/impl pattern we use elsewhere void (*activate)(struct roots_view *view, bool active); void (*move)(struct roots_view *view, double x, double y); void (*resize)(struct roots_view *view, uint32_t width, uint32_t height); |