shell: do not double-init input region

weston_surface_create() already inits the input region.

Signed-off-by: Pekka Paalanen <ppaalanen@gmail.com>
dev
Pekka Paalanen 12 years ago committed by Kristian Høgsberg
parent 0cbd3b5059
commit b89b004e57
  1. 1
      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); weston_surface_configure(surface, 0, 0, 8192, 8192);
wl_list_insert(&compositor->fade_layer.surface_list, wl_list_insert(&compositor->fade_layer.surface_list,
&surface->layer_link); &surface->layer_link);
pixman_region32_fini(&surface->input);
pixman_region32_init(&surface->input); pixman_region32_init(&surface->input);
/* Here's the dirty little trick that makes the /* Here's the dirty little trick that makes the

Loading…
Cancel
Save