diff options
| author | Ryan Dwyer <ryandwyer1@gmail.com> | 2018-06-27 17:54:57 +1000 |
|---|---|---|
| committer | Ryan Dwyer <ryandwyer1@gmail.com> | 2018-06-27 17:54:57 +1000 |
| commit | e6829c5991cac1bd164f800c14fccd522d702783 (patch) | |
| tree | 74f48c0c81cfa64bd480195bddc47ada10812cc4 /sway/tree | |
| parent | 8773ed39701748ba5500b4698d028795aa6e812e (diff) | |
| download | sway-e6829c5991cac1bd164f800c14fccd522d702783.tar.xz | |
Move unsetting of view->surface into view_unmap
Diffstat (limited to 'sway/tree')
| -rw-r--r-- | sway/tree/view.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sway/tree/view.c b/sway/tree/view.c index 68d2a029..9f85bac0 100644 --- a/sway/tree/view.c +++ b/sway/tree/view.c @@ -555,6 +555,7 @@ void view_unmap(struct sway_view *view) { struct sway_container *parent = container_destroy(view->swayc); arrange_and_commit(parent); } + view->surface = NULL; } void view_update_position(struct sway_view *view, double lx, double ly) { |
