diff options
author | Tony Crisci <tony@dubstepdish.com> | 2018-01-14 13:19:21 -0500 |
---|---|---|
committer | Tony Crisci <tony@dubstepdish.com> | 2018-01-14 13:19:21 -0500 |
commit | 83ddd2d9dbee1b77993f5cc45427854e18aae6f1 (patch) | |
tree | f2ec5fbc8b47b66f85978aa7feb1a09e34aaf569 /include | |
parent | render wl-shell and xwayland views (diff) | |
download | sway-83ddd2d9dbee1b77993f5cc45427854e18aae6f1.tar.gz sway-83ddd2d9dbee1b77993f5cc45427854e18aae6f1.tar.zst sway-83ddd2d9dbee1b77993f5cc45427854e18aae6f1.zip |
render override redirect
Diffstat (limited to 'include')
-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 { | |||
9 | struct wlr_output_layout *output_layout; | 9 | struct wlr_output_layout *output_layout; |
10 | 10 | ||
11 | struct wl_listener output_layout_change; | 11 | struct wl_listener output_layout_change; |
12 | |||
13 | struct wl_list unmanaged_views; // sway_view::unmanaged_view_link | ||
12 | }; | 14 | }; |
13 | 15 | ||
14 | void init_layout(void); | 16 | 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 { | |||
28 | struct wl_listener request_resize; | 28 | struct wl_listener request_resize; |
29 | struct wl_listener request_maximize; | 29 | struct wl_listener request_maximize; |
30 | struct wl_listener request_configure; | 30 | struct wl_listener request_configure; |
31 | struct wl_listener unmap_notify; | ||
32 | struct wl_listener map_notify; | ||
31 | struct wl_listener destroy; | 33 | struct wl_listener destroy; |
32 | 34 | ||
33 | int pending_width, pending_height; | 35 | int pending_width, pending_height; |
@@ -91,6 +93,9 @@ struct sway_view { | |||
91 | double ox, double oy); | 93 | double ox, double oy); |
92 | void (*set_activated)(struct sway_view *view, bool activated); | 94 | void (*set_activated)(struct sway_view *view, bool activated); |
93 | } iface; | 95 | } iface; |
96 | |||
97 | // only used for unmanaged views (shell specific) | ||
98 | struct wl_list unmanaged_view_link; // sway_root::unmanaged views | ||
94 | }; | 99 | }; |
95 | 100 | ||
96 | #endif | 101 | #endif |