From e9c67aedba65ad1c15cceb5a31780ad0999f5291 Mon Sep 17 00:00:00 2001 From: Daniel Stone Date: Tue, 27 Jun 2023 09:22:45 +0100 Subject: [PATCH] desktop-shell: Remove unused fullscreen transform I don't know when this stopped being used, but it's obviously not any more. Signed-off-by: Daniel Stone --- desktop-shell/shell.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/desktop-shell/shell.c b/desktop-shell/shell.c index 3f945c41..4b9efb66 100644 --- a/desktop-shell/shell.c +++ b/desktop-shell/shell.c @@ -123,7 +123,6 @@ struct shell_surface { } rotation; struct { - struct weston_transform transform; /* matrix from x, y */ struct weston_curtain *black_view; } fullscreen; @@ -1764,10 +1763,6 @@ weston_view_set_initial_position(struct weston_view *view, static void unset_fullscreen(struct shell_surface *shsurf) { - /* Unset the fullscreen output, driver configuration and transforms. */ - wl_list_remove(&shsurf->fullscreen.transform.link); - wl_list_init(&shsurf->fullscreen.transform.link); - if (shsurf->fullscreen.black_view) weston_shell_utils_curtain_destroy(shsurf->fullscreen.black_view); shsurf->fullscreen.black_view = NULL; @@ -2184,7 +2179,6 @@ desktop_surface_added(struct weston_desktop_surface *desktop_surface, shsurf->desktop_surface = desktop_surface; shsurf->view = view; shsurf->fullscreen.black_view = NULL; - wl_list_init(&shsurf->fullscreen.transform.link); shell_surface_set_output( shsurf, weston_shell_utils_get_default_output(shsurf->shell->compositor));