From b89b004e571462963a083fc3384c3bcbabdc0a41 Mon Sep 17 00:00:00 2001 From: Pekka Paalanen Date: Wed, 10 Oct 2012 12:49:29 +0300 Subject: [PATCH] shell: do not double-init input region weston_surface_create() already inits the input region. Signed-off-by: Pekka Paalanen --- src/shell.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/shell.c b/src/shell.c index 4600be31..f9aa5469 100644 --- a/src/shell.c +++ b/src/shell.c @@ -3475,6 +3475,7 @@ debug_repaint_binding(struct wl_seat *seat, uint32_t time, uint32_t key, weston_surface_configure(surface, 0, 0, 8192, 8192); wl_list_insert(&compositor->fade_layer.surface_list, &surface->layer_link); + pixman_region32_fini(&surface->input); pixman_region32_init(&surface->input); /* Here's the dirty little trick that makes the