diff options
author | Daniel Stone <daniels@collabora.com> | 2023-07-11 16:48:11 +0100 |
---|---|---|
committer | Marius Vlad <marius.vlad@collabora.com> | 2023-10-04 11:44:10 +0300 |
commit | 6b1a4e6562cce57cd14cbb0c7b4c70b195a78f76 (patch) | |
tree | 9983d4eca8a13f482b674103c376434446a43521 /kiosk-shell | |
parent | cae789774ab18180bbff6a7cbd876e1374bca6e8 (diff) |
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>
Diffstat (limited to 'kiosk-shell')
-rw-r--r-- | kiosk-shell/kiosk-shell.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kiosk-shell/kiosk-shell.c b/kiosk-shell/kiosk-shell.c index 55a948a7..28805322 100644 --- a/kiosk-shell/kiosk-shell.c +++ b/kiosk-shell/kiosk-shell.c @@ -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 */ |