aboutsummaryrefslogtreecommitdiff
path: root/include/sway/view.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/sway/view.h')
-rw-r--r--include/sway/view.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/sway/view.h b/include/sway/view.h
index 900bd296..08c5480b 100644
--- a/include/sway/view.h
+++ b/include/sway/view.h
@@ -28,6 +28,8 @@ struct sway_xwayland_surface {
struct wl_listener request_resize;
struct wl_listener request_maximize;
struct wl_listener request_configure;
+ struct wl_listener unmap_notify;
+ struct wl_listener map_notify;
struct wl_listener destroy;
int pending_width, pending_height;
@@ -91,6 +93,9 @@ struct sway_view {
double ox, double oy);
void (*set_activated)(struct sway_view *view, bool activated);
} iface;
+
+ // only used for unmanaged views (shell specific)
+ struct wl_list unmanaged_view_link; // sway_root::unmanaged views
};
#endif