mirror of
https://gitlab.freedesktop.org/wayland/weston.git
synced 2026-05-09 07:08:07 +02:00
shell: Remove obsolete workaround
Cursor surface now are properly initialized.
This commit is contained in:
parent
dbae80e6b5
commit
56d23bc3ee
1 changed files with 0 additions and 4 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue