Code Review
/
src
/
agl-compositor.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
layout, shell: Use implicit layer move to add views to layers
[src/agl-compositor.git]
/
src
/
desktop.c
diff --git
a/src/desktop.c
b/src/desktop.c
index
8554b06
..
1d60bf1
100644
(file)
--- a/
src/desktop.c
+++ b/
src/desktop.c
@@
-318,7
+318,7
@@
desktop_surface_removed(struct weston_desktop_surface *dsurface, void *userdata)
output->active->view->is_mapped = false;
output->active->view->surface->is_mapped = false;
- weston_
layer_entry_remove(&output->active->view->layer_link
);
+ weston_
view_move_to_layer(output->active->view, NULL
);
output->active = NULL;
}