diff options
author | emersion <contact@emersion.fr> | 2018-04-02 14:35:43 -0400 |
---|---|---|
committer | emersion <contact@emersion.fr> | 2018-04-02 14:35:43 -0400 |
commit | 2f64ce86c47efb2ee4c0e3a3c2b31307d21404d9 (patch) | |
tree | 5342d958ece5bf77338d1b1015763e65073fc4f1 /include/sway/tree/view.h | |
parent | Address review comments (diff) | |
download | sway-2f64ce86c47efb2ee4c0e3a3c2b31307d21404d9.tar.gz sway-2f64ce86c47efb2ee4c0e3a3c2b31307d21404d9.tar.zst sway-2f64ce86c47efb2ee4c0e3a3c2b31307d21404d9.zip |
Xwayland unmanaged views aren't views anymore
Diffstat (limited to 'include/sway/tree/view.h')
-rw-r--r-- | include/sway/tree/view.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/include/sway/tree/view.h b/include/sway/tree/view.h index 4e753b2a..4b84205e 100644 --- a/include/sway/tree/view.h +++ b/include/sway/tree/view.h | |||
@@ -39,6 +39,13 @@ struct sway_xwayland_surface { | |||
39 | int pending_width, pending_height; | 39 | int pending_width, pending_height; |
40 | }; | 40 | }; |
41 | 41 | ||
42 | struct sway_xwayland_unmanaged { | ||
43 | struct wlr_xwayland_surface *wlr_xwayland_surface; | ||
44 | struct wl_list link; | ||
45 | |||
46 | struct wl_listener destroy; | ||
47 | }; | ||
48 | |||
42 | struct sway_wl_shell_surface { | 49 | struct sway_wl_shell_surface { |
43 | struct sway_view *view; | 50 | struct sway_view *view; |
44 | 51 | ||
@@ -127,9 +134,6 @@ void view_damage_from(struct sway_view *view); | |||
127 | 134 | ||
128 | void view_map(struct sway_view *view, struct wlr_surface *wlr_surface); | 135 | void view_map(struct sway_view *view, struct wlr_surface *wlr_surface); |
129 | 136 | ||
130 | void view_map_unmanaged(struct sway_view *view, | ||
131 | struct wlr_surface *wlr_surface); | ||
132 | |||
133 | void view_unmap(struct sway_view *view); | 137 | void view_unmap(struct sway_view *view); |
134 | 138 | ||
135 | void view_update_position(struct sway_view *view, double ox, double oy); | 139 | void view_update_position(struct sway_view *view, double ox, double oy); |