aboutsummaryrefslogtreecommitdiff
path: root/include/rootston/view.h
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2017-09-28 08:54:57 -0400
committerDrew DeVault <sir@cmpwn.com>2017-09-28 08:54:57 -0400
commit906a816abf812445ec9e514e6115872632fb3ee1 (patch)
tree6ff2b749c5d06505fe13f3ebabb020f9128bd8e9 /include/rootston/view.h
parent7cf4ee128e278108b0326344be01ded93ce7148b (diff)
Fix rootston keyboard, add Xwayland
Diffstat (limited to 'include/rootston/view.h')
-rw-r--r--include/rootston/view.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/rootston/view.h b/include/rootston/view.h
index 1010566a..8d4d69c5 100644
--- a/include/rootston/view.h
+++ b/include/rootston/view.h
@@ -27,6 +27,12 @@ struct roots_xdg_surface_v6 {
struct wl_listener request_show_window_menu;
};
+struct roots_x11_surface {
+ struct roots_view *view;
+ // TODO: Maybe destroy listener should go in roots_view
+ struct wl_listener destroy;
+};
+
enum roots_view_type {
ROOTS_WL_SHELL_VIEW,
ROOTS_XDG_SHELL_V6_VIEW,
@@ -42,10 +48,12 @@ struct roots_view {
union {
struct wlr_wl_shell_surface *wl_shell_surface;
struct wlr_xdg_surface_v6 *xdg_surface_v6;
+ struct wlr_x11_window *x11_window;
};
union {
struct roots_wl_shell_surface *roots_wl_shell_surface;
struct roots_xdg_surface_v6 *roots_xdg_surface_v6;
+ struct roots_x11_surface *roots_x11_surface;
};
struct wlr_surface *wlr_surface;
struct wl_list link;