diff options
author | Drew DeVault <sir@cmpwn.com> | 2017-11-22 21:06:08 -0500 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2017-11-22 21:06:08 -0500 |
commit | 4ca1e77fdbbf559a5bb28d4936afa6ade63985cd (patch) | |
tree | 935c9a56d20f591688d196a85cecfc6080727d26 /include/sway/view.h | |
parent | Add workspace to outputs (diff) | |
download | sway-4ca1e77fdbbf559a5bb28d4936afa6ade63985cd.tar.gz sway-4ca1e77fdbbf559a5bb28d4936afa6ade63985cd.tar.zst sway-4ca1e77fdbbf559a5bb28d4936afa6ade63985cd.zip |
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 @@ | |||
1 | #ifndef _SWAY_VIEW_H | 1 | #ifndef _SWAY_VIEW_H |
2 | #define _SWAY_VIEW_H | 2 | #define _SWAY_VIEW_H |
3 | #include <wayland-server.h> | 3 | #include <wayland-server.h> |
4 | #include <wlr/types/wlr_surface.h> | ||
4 | #include <wlr/types/wlr_xdg_shell_v6.h> | 5 | #include <wlr/types/wlr_xdg_shell_v6.h> |
5 | 6 | ||
6 | struct sway_container; | 7 | struct sway_container; |
@@ -38,6 +39,7 @@ struct sway_view { | |||
38 | struct wl_listener destroy; | 39 | struct wl_listener destroy; |
39 | enum sway_view_type type; | 40 | enum sway_view_type type; |
40 | struct sway_container *swayc; | 41 | struct sway_container *swayc; |
42 | struct wlr_surface *surface; | ||
41 | 43 | ||
42 | union { | 44 | union { |
43 | struct wlr_xdg_surface_v6 *wlr_xdg_surface_v6; | 45 | struct wlr_xdg_surface_v6 *wlr_xdg_surface_v6; |