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
desktop: Remove the active surface only if matches the one being displayed
[src/agl-compositor.git]
/
src
/
desktop.c
diff --git
a/src/desktop.c
b/src/desktop.c
index
7c6c19a
..
da28fc6
100644
(file)
--- a/
src/desktop.c
+++ b/
src/desktop.c
@@
-117,7
+117,7
@@
desktop_surface_removed(struct weston_desktop_surface *dsurface, void *userdata)
return;
/* reset the active surface as well */
- if (output && output->active) {
+ if (output && output->active
&& output->active == surface
) {
output->active->view->is_mapped = false;
output->active->view->surface->is_mapped = false;