summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/desktop.c12
-rw-r--r--src/shell.c8
2 files changed, 0 insertions, 20 deletions
diff --git a/src/desktop.c b/src/desktop.c
index 3b83d4c..28ef52b 100644
--- a/src/desktop.c
+++ b/src/desktop.c
@@ -33,18 +33,6 @@
#include "agl-shell-desktop-server-protocol.h"
-#if 0
-static struct weston_output *
-get_default_output(struct weston_compositor *compositor)
-{
- if (wl_list_empty(&compositor->output_list))
- return NULL;
-
- return wl_container_of(compositor->output_list.next,
- struct weston_output, link);
-}
-#endif
-
static void
desktop_advertise_app(struct wl_listener *listener, void *data)
{
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");