From 264b3f9d843398d68ca7610b53105519484b8727 Mon Sep 17 00:00:00 2001 From: Benjamin Franzke Date: Wed, 16 Mar 2011 13:48:42 +0100 Subject: [PATCH 1/2] compositor: Update only existing backgrounds in output_move --- compositor/compositor.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/compositor/compositor.c b/compositor/compositor.c index 23465dab..01fb2573 100644 --- a/compositor/compositor.c +++ b/compositor/compositor.c @@ -1327,9 +1327,11 @@ wlsc_output_move(struct wlsc_output *output, int x, int y) output->x = x; output->y = y; - output->background->x = x; - output->background->y = y; - wlsc_surface_update_matrix(output->background); + if (output->background) { + output->background->x = x; + output->background->y = y; + wlsc_surface_update_matrix(output->background); + } pixman_region32_init(&output->previous_damage_region); From 2eae9e3f1cec75b5c03597a2c45bb6f561f41377 Mon Sep 17 00:00:00 2001 From: Benjamin Franzke Date: Thu, 17 Mar 2011 15:43:21 +0100 Subject: [PATCH 2/2] simple-client: Request a alpha channel in choose config --- clients/simple-client.c | 1 + 1 file changed, 1 insertion(+) diff --git a/clients/simple-client.c b/clients/simple-client.c index 89718dfa..a64a482f 100644 --- a/clients/simple-client.c +++ b/clients/simple-client.c @@ -96,6 +96,7 @@ init_egl(struct display *display) EGL_RED_SIZE, 1, EGL_GREEN_SIZE, 1, EGL_BLUE_SIZE, 1, + EGL_ALPHA_SIZE, 1, EGL_DEPTH_SIZE, 1, EGL_RENDERABLE_TYPE, EGL_OPENGL_ES2_BIT, EGL_NONE