summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKristian Høgsberg <krh@bitplanet.net>2012-03-29 11:35:32 -0400
committerKristian Høgsberg <krh@bitplanet.net>2012-03-29 11:35:32 -0400
commit56d23bc3eed32ed4890d57266d000f08aab211d1 (patch)
tree7cb797b76da4756daa13a900ae5bde39fced2dc0
parentdbae80e6b5e7b60740ce4545c2850f4437041892 (diff)
shell: Remove obsolete workaround
Cursor surface now are properly initialized.
-rw-r--r--src/shell.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/shell.c b/src/shell.c
index 5c94cf9..dc33b06 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: