349
349
if (surface->type == WL_WINDOW_SURFACE) {
350
350
resource_surface_get_size(surface->rsurf, &width, &height);
351
wl_buffer_damage(surface->buffer[WL_BUFFER_FRONT], 0, 0, width, height);
352
351
wl_surface_damage(surface->win->surface, 0, 0, width, height);