libweston: Add weston_surface_map() wrapper
Change all instances of surface->is_mapped = true, to a specialised function. Signed-off-by: Daniel Stone <daniels@collabora.com>
This commit is contained in:
committed by
Marius Vlad
parent
51fe874ad4
commit
0c69688aa2
@@ -122,7 +122,7 @@ weston_desktop_xwayland_surface_change_state(struct weston_desktop_xwayland_surf
|
||||
weston_layer_entry_insert(&surface->xwayland->layer.view_list,
|
||||
&surface->view->layer_link);
|
||||
surface->view->is_mapped = true;
|
||||
wsurface->is_mapped = true;
|
||||
weston_surface_map(wsurface);
|
||||
}
|
||||
|
||||
surface->state = state;
|
||||
|
||||
Reference in New Issue
Block a user