diff options
author | Walter Lozano <walter.lozano@collabora.com> | 2020-09-23 12:41:49 +0000 |
---|---|---|
committer | Walter Lozano <walter.lozano@collabora.com> | 2020-09-28 12:17:42 -0300 |
commit | 1f888f2050ac50ec8c1750ff4f0e2c485936d7ed (patch) | |
tree | 3374b3987bf153b079f5dfa3cf13f57bac8fca92 /shared/helpers.h | |
parent | 0056122343c782902457802bb1ef6bde7c14d3c9 (diff) |
layout: Set active output NULL when displaying background
Currently agl-compositor keeps track of the active app and uses this
information to to also keep track of the previous one. This is useful
to allow to show the previous activated app when deactivating the
current one.
However, when deactivating all the apps, for instance the background,
this information is not saved, which causes that when activating and
deactivating and new app, instead of the background a different app
shows.
This patch sets output->previous_active = NULL when displaying the
background to overcome this issue.
Signed-off-by: Walter Lozano <walter.lozano@collabora.com>
Change-Id: I29c3f8972d6055d2387e0fdcbb28574d3d2e38a7
Diffstat (limited to 'shared/helpers.h')
0 files changed, 0 insertions, 0 deletions