if (reset_shell_surface_type(surface))
return;
- weston_surface_damage(surface->surface);
surface->type = SHELL_SURFACE_TOPLEVEL;
}
es->geometry.y = pes->geometry.y + y;
es->geometry.dirty = 1;
- weston_surface_damage(es);
shsurf->type = SHELL_SURFACE_TRANSIENT;
}
es->geometry.y = (output->current->height - es->geometry.height) / 2;
es->geometry.dirty = 1;
es->fullscreen_output = output;
- weston_surface_damage(es);
shsurf->type = SHELL_SURFACE_FULLSCREEN;
}
int32_t x, int32_t y, uint32_t flags)
{
struct shell_surface *shsurf = resource->data;
- struct weston_surface *es = shsurf->surface;
- weston_surface_damage(es);
shsurf->type = SHELL_SURFACE_POPUP;
shsurf->parent = parent_resource->data;
shsurf->popup.x = x;