summaryrefslogtreecommitdiffstats
path: root/src/shell.c
diff options
context:
space:
mode:
authorWalter Lozano <walter.lozano@collabora.com>2020-11-13 14:46:08 +0000
committerWalter Lozano <walter.lozano@collabora.com>2020-11-17 16:43:16 +0000
commit7239ababba46f5ca3bddd0add65acd5777e832d8 (patch)
tree9f9f060992ba8fe9a8376ba3d8d793bd5b36fce0 /src/shell.c
parent47d79bb6a1f1f31c538c5b98326c34d6af4fb12d (diff)
desktop: Allow to remove surface from pending list
In some special corner cases a surface can be removed while it is still in the pending list. An example of this case is when a surface is added and removed before the system is ready. Under this circumstances the surface still has role == ROLE_NONE and is in the pending list. The fact of not removing the surface from the pending_list ends in a segfault when the system is ready. In order to fix the issue, remove the restriction to only remove surfaces with role != ROLE_NONE. Signed-off-by: Walter Lozano <walter.lozano@collabora.com> Change-Id: Ia71b6c3ca214849448c935cc09039581d0e209a8
Diffstat (limited to 'src/shell.c')
0 files changed, 0 insertions, 0 deletions