summaryrefslogtreecommitdiff
path: root/kiosk-shell
diff options
context:
space:
mode:
authorDaniel Stone <daniels@collabora.com>2022-06-12 20:51:45 +0100
committerMarius Vlad <marius.vlad@collabora.com>2022-06-16 12:17:15 +0300
commit0c69688aa238c3576f99486b177f527f668ee704 (patch)
treed5ea1c6e7be27a0ff457580fc80e26724a6a08fe /kiosk-shell
parent51fe874ad4152fceaf2de50db96c1ec5e08bca1b (diff)
downloadweston-0c69688aa238c3576f99486b177f527f668ee704.tar.gz
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>
Diffstat (limited to 'kiosk-shell')
-rw-r--r--kiosk-shell/kiosk-shell.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/kiosk-shell/kiosk-shell.c b/kiosk-shell/kiosk-shell.c
index 950e5811..c109e31f 100644
--- a/kiosk-shell/kiosk-shell.c
+++ b/kiosk-shell/kiosk-shell.c
@@ -523,7 +523,7 @@ kiosk_shell_output_recreate_background(struct kiosk_shell_output *shoutput)
&shoutput->curtain->view->layer_link);
shoutput->curtain->view->is_mapped = true;
- shoutput->curtain->view->surface->is_mapped = true;
+ weston_surface_map(shoutput->curtain->view->surface);
shoutput->curtain->view->surface->output = output;
weston_view_set_output(shoutput->curtain->view, output);
}
@@ -799,7 +799,7 @@ desktop_surface_committed(struct weston_desktop_surface *desktop_surface,
struct kiosk_shell_seat *kiosk_seat;
shsurf->view->is_mapped = true;
- surface->is_mapped = true;
+ weston_surface_map(surface);
kiosk_seat = get_kiosk_shell_seat(seat);
if (seat && kiosk_seat)