kiosk-shell: Delete nonsensical is_mapped check

A view is mapped if it's on a layer, so if we find it in a layer then we
don't need to worry about whether or not it's mapped.

Signed-off-by: Daniel Stone <daniels@collabora.com>
This commit is contained in:
Daniel Stone 2023-07-11 16:48:11 +01:00 committed by Marius Vlad
parent cae789774a
commit 6b1a4e6562
1 changed files with 1 additions and 1 deletions

View File

@ -798,7 +798,7 @@ find_focus_successor(struct kiosk_shell_surface *shsurf,
struct kiosk_shell_surface *view_shsurf;
struct kiosk_shell_surface *root;
if (!view->is_mapped || view == shsurf->view)
if (view == shsurf->view)
continue;
/* pick views only on the same output */