From 3ae6ad7c48b358f1d074ec28946a415c0279558c Mon Sep 17 00:00:00 2001 From: Dominique Martinet Date: Sat, 28 Apr 2018 08:18:14 +0900 Subject: [PATCH] wayland renderer: remove useless wl_surface_damage call window->height is 0 at this point anyway... --- lib/renderers/wayland/window.c | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/renderers/wayland/window.c b/lib/renderers/wayland/window.c index 6cf0c52..4669f20 100644 --- a/lib/renderers/wayland/window.c +++ b/lib/renderers/wayland/window.c @@ -321,7 +321,6 @@ bm_wl_window_create(struct window *window, struct wl_display *display, struct wl window->shm = shm; window->surface = surface; - wl_surface_damage(surface, 0, 0, window->width, window->height); return true; }