diff options
author | Tony Crisci <tony@dubstepdish.com> | 2018-01-15 10:19:49 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-01-15 10:19:49 -0500 |
commit | eb0f432a840dbe860b8c20f7a16e0281f9026326 (patch) | |
tree | a8b8e1a5a92a4203503ead496d8d50fd72fcf850 /include/sway | |
parent | 5a23959242419169fa4af032d85ee3f65e7041e4 (diff) | |
parent | ddc49ede4636b01dad8d8bfb7d0314bf1eb88258 (diff) |
Merge pull request #1566 from acrisci/render-loop
Subsurfaces and popups
Diffstat (limited to 'include/sway')
-rw-r--r-- | include/sway/layout.h | 2 | ||||
-rw-r--r-- | include/sway/view.h | 5 |
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 |