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:
parent
cae789774a
commit
6b1a4e6562
|
@ -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 */
|
||||
|
|
Loading…
Reference in New Issue