summaryrefslogtreecommitdiffstats
path: root/src/shell.c
diff options
context:
space:
mode:
authorMarius Vlad <marius.vlad@collabora.com>2022-05-03 11:33:10 +0300
committerMarius Vlad <marius.vlad@collabora.com>2022-05-03 18:17:26 +0300
commit40f5e3bbfac73375bc4f881b3a168fb0d9297c9b (patch)
tree3399899eeb7d5b76451f324497a616b64e636ea5 /src/shell.c
parent8f85581e96bc71512cbef015ff12dc6441c07d9c (diff)
desktop: Remove dead code
Some dead code artefacts, no need to keep these in. Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Change-Id: Idca7f858592b422a0e028ed03e10f4bb418bcb40
Diffstat (limited to 'src/shell.c')
-rw-r--r--src/shell.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/shell.c b/src/shell.c
index bf14302..6ec444a 100644
--- a/src/shell.c
+++ b/src/shell.c
@@ -1338,14 +1338,6 @@ bind_agl_shell(struct wl_client *client,
return;
}
-#if 0
- if (ivi->shell_client.client != client) {
- wl_resource_post_error(resource, WL_DISPLAY_ERROR_INVALID_OBJECT,
- "client not authorized to use agl_shell");
- return;
- }
-#endif
-
if (ivi->shell_client.resource) {
wl_resource_post_error(resource, WL_DISPLAY_ERROR_INVALID_OBJECT,
"agl_shell has already been bound");