From 3387afd56b8a25be4dd411ebd19ccb837b039b2e Mon Sep 17 00:00:00 2001 From: Pekka Paalanen Date: Tue, 2 Aug 2022 11:04:43 +0300 Subject: [PATCH] fullscreen-shell: fix black output Fullscreen-shell forgot to mark the weston_surface as mapped when mapping the surface and view. With f962b4895891a495e147d795cc47a7af9ca441f6 that means no surface from fullscreen-shell clients is eveer shown. Most notably this broke screen-share plugin, which is maybe the only "real" user of fullscreen-shell. Fix this oversight. Now screen-share works again with RDP-backend. Fixes: f962b4895891a495e147d795cc47a7af9ca441f6 "compositor: Only create paint nodes for mapped surfaces/views" (currently unreleased) Signed-off-by: Pekka Paalanen --- fullscreen-shell/fullscreen-shell.c | 1 + 1 file changed, 1 insertion(+) diff --git a/fullscreen-shell/fullscreen-shell.c b/fullscreen-shell/fullscreen-shell.c index 009ad1e3..7ee09d79 100644 --- a/fullscreen-shell/fullscreen-shell.c +++ b/fullscreen-shell/fullscreen-shell.c @@ -625,6 +625,7 @@ fs_output_apply_pending(struct fs_output *fsout) return; } fsout->view->is_mapped = true; + fsout->surface->is_mapped = true; wl_signal_add(&fsout->surface->destroy_signal, &fsout->surface_destroyed);