Damage output when a fullscreen view unmaps

Also moved the arranging into view_unmap to avoid excessive code
duplication.
This commit is contained in:
Ryan Dwyer 2018-06-26 13:15:45 +10:00
parent beacd4d9f9
commit 7a922c65aa
5 changed files with 15 additions and 17 deletions

View file

@ -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);