diff options
author | Tony Crisci <tony@dubstepdish.com> | 2018-04-03 19:23:59 -0400 |
---|---|---|
committer | Tony Crisci <tony@dubstepdish.com> | 2018-04-03 19:23:59 -0400 |
commit | 481a8275c178f81bb2d9927c5047e959fdbc383a (patch) | |
tree | 4a2f1f85be06a17f2885a53676bd446d8fd8c502 /sway/tree/view.c | |
parent | eca4468c2cacd87677f7f5831d8a74f8d811d318 (diff) | |
download | sway-481a8275c178f81bb2d9927c5047e959fdbc383a.tar.xz |
address feedback
Diffstat (limited to 'sway/tree/view.c')
-rw-r--r-- | sway/tree/view.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sway/tree/view.c b/sway/tree/view.c index c06924f5..aa010a40 100644 --- a/sway/tree/view.c +++ b/sway/tree/view.c @@ -149,12 +149,12 @@ void view_unmap(struct sway_view *view) { view_damage_whole(view); - container_destroy(view->swayc); + struct sway_container *parent = container_destroy(view->swayc); view->swayc = NULL; view->surface = NULL; - arrange_windows(&root_container, -1, -1); + arrange_windows(parent, -1, -1); } void view_update_position(struct sway_view *view, double ox, double oy) { |