kiosk-shell: Fix fullscreen_requests

In my haste to fix a crash in kiosk-shell, I made it potentially put
surfaces on wrong outputs instead.

Fixes e1ac6139ca
Signed-off-by: Derek Foreman <derek.foreman@collabora.com>
This commit is contained in:
Derek Foreman 2025-04-15 09:20:46 -05:00 committed by Marius Vlad
parent 007a1e1def
commit 4e1e922a28

View file

@ -1136,7 +1136,7 @@ desktop_surface_fullscreen_requested(struct weston_desktop_surface *desktop_surf
struct kiosk_shell_output *shoutput = NULL;
if (output)
weston_output_get_shell_private(output);
shoutput = weston_output_get_shell_private(output);
/* We should normally be able to ignore fullscreen requests for
* top-level surfaces, since we set them as fullscreen at creation