mirror of
https://github.com/swaywm/sway.git
synced 2025-11-10 13:29:51 -05:00
Move unsetting of view->surface into view_unmap
This commit is contained in:
parent
8773ed3970
commit
e6829c5991
4 changed files with 1 additions and 4 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue