From 6228ee235fe423ecdcdd0ddd9b6d93f9b573a109 Mon Sep 17 00:00:00 2001 From: Jason Ekstrand Date: Wed, 1 Jan 2014 15:58:57 -0600 Subject: [PATCH] Fix the size of surfaces created in create_black_surface Signed-off-by: Jason Ekstrand --- desktop-shell/shell.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/desktop-shell/shell.c b/desktop-shell/shell.c index 2019a4ef1..c49edf93d 100644 --- a/desktop-shell/shell.c +++ b/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;