diff options
author | Pekka Paalanen <pekka.paalanen@collabora.com> | 2022-08-02 11:04:43 +0300 |
---|---|---|
committer | Pekka Paalanen <pekka.paalanen@collabora.com> | 2022-08-02 11:04:43 +0300 |
commit | 3387afd56b8a25be4dd411ebd19ccb837b039b2e (patch) | |
tree | 4b195102426933a77a6273d42a2b862eb90de435 | |
parent | f9e52eb0d759468a31ca131380d4db8de815f8d1 (diff) | |
download | weston-3387afd56b8a25be4dd411ebd19ccb837b039b2e.tar.gz |
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 <pekka.paalanen@collabora.com>
-rw-r--r-- | fullscreen-shell/fullscreen-shell.c | 1 |
1 files changed, 1 insertions, 0 deletions
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); |