weston-curtain: Always mark surface as mapped
The surface always has valid content, hence it can always be mapped. Signed-off-by: Daniel Stone <daniels@collabora.com>
This commit is contained in:
committed by
Marius Vlad
parent
af7dcdddac
commit
19744a5207
@@ -185,6 +185,8 @@ weston_curtain_create(struct weston_compositor *compositor,
|
||||
pixman_region32_init(&surface->input);
|
||||
}
|
||||
|
||||
weston_surface_map(surface);
|
||||
|
||||
weston_view_set_position(view, params->x, params->y);
|
||||
|
||||
return curtain;
|
||||
|
||||
Reference in New Issue
Block a user