From 56d23bc3eed32ed4890d57266d000f08aab211d1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kristian=20H=C3=B8gsberg?= Date: Thu, 29 Mar 2012 11:35:32 -0400 Subject: [PATCH] shell: Remove obsolete workaround Cursor surface now are properly initialized. --- src/shell.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/shell.c b/src/shell.c index 5c94cf933..dc33b065b 100644 --- a/src/shell.c +++ b/src/shell.c @@ -1903,10 +1903,6 @@ switcher_next(struct switcher *switcher) struct weston_surface *first = NULL, *prev = NULL, *next = NULL; wl_list_for_each(surface, &compositor->surface_list, link) { - /* Workaround for cursor surfaces. */ - if (surface->surface.resource.destroy_listener_list.next == NULL) - continue; - switch (get_shell_surface_type(surface)) { case SHELL_SURFACE_TOPLEVEL: case SHELL_SURFACE_FULLSCREEN: