diff options
author | Drew DeVault <[email protected]> | 2017-11-22 21:06:08 -0500 |
---|---|---|
committer | Drew DeVault <[email protected]> | 2017-11-22 21:06:08 -0500 |
commit | 4ca1e77fdbbf559a5bb28d4936afa6ade63985cd (patch) | |
tree | 935c9a56d20f591688d196a85cecfc6080727d26 /include/sway/view.h | |
parent | aeda2e077f6184ecd26dc078c7b5db7f0dc54fd7 (diff) |
Add views to tree and render them
Diffstat (limited to 'include/sway/view.h')
-rw-r--r-- | include/sway/view.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/sway/view.h b/include/sway/view.h index 979b20a8..2675a6f5 100644 --- a/include/sway/view.h +++ b/include/sway/view.h @@ -1,6 +1,7 @@ #ifndef _SWAY_VIEW_H #define _SWAY_VIEW_H #include <wayland-server.h> +#include <wlr/types/wlr_surface.h> #include <wlr/types/wlr_xdg_shell_v6.h> struct sway_container; @@ -38,6 +39,7 @@ struct sway_view { struct wl_listener destroy; enum sway_view_type type; struct sway_container *swayc; + struct wlr_surface *surface; union { struct wlr_xdg_surface_v6 *wlr_xdg_surface_v6; |