Fix the size of surfaces created in create_black_surface
authorJason Ekstrand <jason@jlekstrand.net>
Wed, 1 Jan 2014 21:58:57 +0000 (15:58 -0600)
committerKristian Høgsberg <krh@bitplanet.net>
Wed, 1 Jan 2014 22:01:14 +0000 (14:01 -0800)
Signed-off-by: Jason Ekstrand <jason@jlekstrand.net>
desktop-shell/shell.c

index 2019a4e..c49edf9 100644 (file)
@@ -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;