From 7b5029f8d45b5cc9d49e053cebaf25d40321d3ed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kristian=20H=C3=B8gsberg?= Date: Fri, 15 Jun 2012 16:31:27 -0400 Subject: [PATCH] shell: Don't override the sprite surface output This was a hack to force the sprite surface to have an output. Not needed not that the sprite surface is a regular client provided surface. --- src/shell.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/shell.c b/src/shell.c index 7a85ff1c..bc2a9878 100644 --- a/src/shell.c +++ b/src/shell.c @@ -844,8 +844,6 @@ set_busy_cursor(struct shell_surface *shsurf, struct wl_pointer *pointer) { struct shell_grab *grab; struct desktop_shell *shell = shsurf->shell; - struct weston_seat *seat = (struct weston_seat *) pointer->seat; - struct weston_surface *sprite; grab = malloc(sizeof *grab); if (!grab) @@ -855,9 +853,6 @@ set_busy_cursor(struct shell_surface *shsurf, struct wl_pointer *pointer) grab->grab.focus = &shsurf->surface->surface; wl_pointer_start_grab(pointer, &grab->grab); wl_pointer_set_focus(pointer, &shell->busy_surface->surface, 0, 0); - - sprite = (struct weston_surface *) seat->sprite; - shell->busy_surface->output = sprite->output; } static void