diff options
author | Kristian Høgsberg <krh@bitplanet.net> | 2012-03-29 11:35:32 -0400 |
---|---|---|
committer | Kristian Høgsberg <krh@bitplanet.net> | 2012-03-29 11:35:32 -0400 |
commit | 56d23bc3eed32ed4890d57266d000f08aab211d1 (patch) | |
tree | 7cb797b76da4756daa13a900ae5bde39fced2dc0 | |
parent | dbae80e6b5e7b60740ce4545c2850f4437041892 (diff) |
shell: Remove obsolete workaround
Cursor surface now are properly initialized.
-rw-r--r-- | src/shell.c | 4 |
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: |