summaryrefslogtreecommitdiffstats
path: root/include/sway/view.h
diff options
context:
space:
mode:
authorLibravatar Drew DeVault <sir@cmpwn.com>2017-11-22 21:06:08 -0500
committerLibravatar Drew DeVault <sir@cmpwn.com>2017-11-22 21:06:08 -0500
commit4ca1e77fdbbf559a5bb28d4936afa6ade63985cd (patch)
tree935c9a56d20f591688d196a85cecfc6080727d26 /include/sway/view.h
parentAdd workspace to outputs (diff)
downloadsway-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.h2
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
6struct sway_container; 7struct 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;