mirror of
https://github.com/swaywm/sway.git
synced 2025-11-09 13:29:49 -05:00
address feedback
This commit is contained in:
parent
eca4468c2c
commit
481a8275c1
5 changed files with 79 additions and 78 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue