diff options
author | Ryan Dwyer <ryandwyer1@gmail.com> | 2018-06-26 13:15:45 +1000 |
---|---|---|
committer | Ryan Dwyer <ryandwyer1@gmail.com> | 2018-06-26 13:15:45 +1000 |
commit | 7a922c65aab27c5f4282cf15de52d240e5ac8052 (patch) | |
tree | bea2a3dee07631b1da05428b29ec5d1e4c47d871 /include/sway/tree | |
parent | beacd4d9f9c6da7459bcde0e95031dac41387a7c (diff) |
Damage output when a fullscreen view unmaps
Also moved the arranging into view_unmap to avoid excessive code
duplication.
Diffstat (limited to 'include/sway/tree')
-rw-r--r-- | include/sway/tree/view.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/include/sway/tree/view.h b/include/sway/tree/view.h index 5a615b43..0e6f5292 100644 --- a/include/sway/tree/view.h +++ b/include/sway/tree/view.h @@ -245,10 +245,7 @@ void view_destroy(struct sway_view *view); void view_map(struct sway_view *view, struct wlr_surface *wlr_surface); -/** - * Unmap the view and return the surviving parent (after reaping). - */ -struct sway_container *view_unmap(struct sway_view *view); +void view_unmap(struct sway_view *view); void view_update_position(struct sway_view *view, double lx, double ly); |