aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorFurkan Sahin <furkan-dev@proton.me>2018-01-15 10:19:49 -0500
committerFurkan Sahin <furkan-dev@proton.me>2018-01-15 10:19:49 -0500
commitd131e7ec3eaa1776f37366207a5e4485681ecf12 (patch)
treea8b8e1a5a92a4203503ead496d8d50fd72fcf850 /include
parentfcd118ce523a7532d052f358e3325f2a0c94b8a5 (diff)
parent8bb075ab6cc7c7fdb53087f2dba131e3bc5da774 (diff)
Merge pull request #1566 from acrisci/render-loop
Subsurfaces and popups
Diffstat (limited to 'include')
-rw-r--r--include/sway/layout.h2
-rw-r--r--include/sway/view.h5
2 files changed, 7 insertions, 0 deletions
diff --git a/include/sway/layout.h b/include/sway/layout.h
index bfd96a02..af561453 100644
--- a/include/sway/layout.h
+++ b/include/sway/layout.h
@@ -9,6 +9,8 @@ struct sway_root {
struct wlr_output_layout *output_layout;
struct wl_listener output_layout_change;
+
+ struct wl_list unmanaged_views; // sway_view::unmanaged_view_link
};
void init_layout(void);
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