summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPekka Paalanen <ppaalanen@gmail.com>2012-10-10 12:49:29 +0300
committerKristian Høgsberg <krh@bitplanet.net>2012-10-10 21:38:52 -0400
commitb89b004e571462963a083fc3384c3bcbabdc0a41 (patch)
treefe3742e80e2993680cfc043d7e82342d617468d7
parent0cbd3b50590cbb86ab963201526f3b8ade257ec3 (diff)
shell: do not double-init input region
weston_surface_create() already inits the input region. Signed-off-by: Pekka Paalanen <ppaalanen@gmail.com>
-rw-r--r--src/shell.c1
1 files changed, 1 insertions, 0 deletions
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