summaryrefslogtreecommitdiff
path: root/include/sway/tree/view.h
diff options
context:
space:
mode:
authorWilliam McKinnon <[email protected]>2022-04-27 17:33:23 -0400
committerWilliam McKinnon <[email protected]>2022-04-27 17:33:23 -0400
commit7460d9f565092836f81b917a040caff57142d91a (patch)
treeb76e7facef2aaa5925a62ad6b9995c16663313f0 /include/sway/tree/view.h
parentc37aba2736e31264bdcd52147a96fa85e17c8c5f (diff)
merge sway master
Diffstat (limited to 'include/sway/tree/view.h')
-rw-r--r--include/sway/tree/view.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/include/sway/tree/view.h b/include/sway/tree/view.h
index ee34af48..1fb39ce7 100644
--- a/include/sway/tree/view.h
+++ b/include/sway/tree/view.h
@@ -1,7 +1,7 @@
#ifndef _SWAY_VIEW_H
#define _SWAY_VIEW_H
#include <wayland-server-core.h>
-#include <wlr/types/wlr_surface.h>
+#include <wlr/types/wlr_compositor.h>
#include "config.h"
#if HAVE_XWAYLAND
#include <wlr/xwayland.h>
@@ -109,7 +109,7 @@ struct sway_view {
list_t *executed_criteria; // struct criteria *
union {
- struct wlr_xdg_surface *wlr_xdg_surface;
+ struct wlr_xdg_toplevel *wlr_xdg_toplevel;
#if HAVE_XWAYLAND
struct wlr_xwayland_surface *wlr_xwayland_surface;
#endif
@@ -170,6 +170,7 @@ struct sway_xwayland_unmanaged {
int lx, ly;
+ struct wl_listener request_activate;
struct wl_listener request_configure;
struct wl_listener request_fullscreen;
struct wl_listener commit;
@@ -217,7 +218,7 @@ struct sway_subsurface {
struct sway_xdg_popup {
struct sway_view_child child;
- struct wlr_xdg_surface *wlr_xdg_surface;
+ struct wlr_xdg_popup *wlr_xdg_popup;
struct wl_listener new_popup;
struct wl_listener destroy;