mirror of
https://gitlab.freedesktop.org/wayland/weston.git
synced 2025-12-20 04:40:07 +01:00
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:
parent
007a1e1def
commit
4e1e922a28
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue