Fix the size of surfaces created in create_black_surface

Signed-off-by: Jason Ekstrand <jason@jlekstrand.net>
dev
Jason Ekstrand 11 years ago committed by Kristian Høgsberg
parent f3fa832796
commit 6228ee235f
  1. 2
      desktop-shell/shell.c

@ -2445,7 +2445,7 @@ create_black_surface(struct weston_compositor *ec,
pixman_region32_fini(&surface->input);
pixman_region32_init_rect(&surface->input, 0, 0, w, h);
weston_surface_set_size(surface, w, y);
weston_surface_set_size(surface, w, h);
weston_view_set_position(view, x, y);
return view;

Loading…
Cancel
Save