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
shell: Reset active view to allow further activation
[src/agl-compositor.git]
/
src
/
shell.c
diff --git
a/src/shell.c
b/src/shell.c
index
7f445e6
..
020c169
100644
(file)
--- a/
src/shell.c
+++ b/
src/shell.c
@@
-1947,6
+1947,11
@@
void shell_set_app_split(struct wl_client *client, struct wl_resource *res,
_ivi_set_shell_surface_split(output->previous_active, NULL,
reverse_orientation(orientation), false);
_ivi_set_shell_surface_split(output->previous_active, NULL,
reverse_orientation(orientation), false);
+
+ if (orientation == AGL_SHELL_TILE_ORIENTATION_NONE &&
+ output->active == surf) {
+ output->active = output->previous_active;
+ }
}
_ivi_set_shell_surface_split(surf, NULL, orientation, false);
}
_ivi_set_shell_surface_split(surf, NULL, orientation, false);