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 | |
parent | Rename progress_queue to transaction_progress_queue (diff) | |
download | sway-7a922c65aab27c5f4282cf15de52d240e5ac8052.tar.gz sway-7a922c65aab27c5f4282cf15de52d240e5ac8052.tar.zst sway-7a922c65aab27c5f4282cf15de52d240e5ac8052.zip |
Damage output when a fullscreen view unmaps
Also moved the arranging into view_unmap to avoid excessive code
duplication.
Diffstat (limited to 'include')
-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); | |||
245 | 245 | ||
246 | void view_map(struct sway_view *view, struct wlr_surface *wlr_surface); | 246 | void view_map(struct sway_view *view, struct wlr_surface *wlr_surface); |
247 | 247 | ||
248 | /** | 248 | void view_unmap(struct sway_view *view); |
249 | * Unmap the view and return the surviving parent (after reaping). | ||
250 | */ | ||
251 | struct sway_container *view_unmap(struct sway_view *view); | ||
252 | 249 | ||
253 | void view_update_position(struct sway_view *view, double lx, double ly); | 250 | void view_update_position(struct sway_view *view, double lx, double ly); |
254 | 251 | ||