backend-wayland: fix --fullscreen
Don't forget to transfer the fullscreen setting from the config to the backend.
Without this, weston tries to resize the window with the windowed output API but
that is not registered with new_config.fullscreen == true.
This code was accidentally lost in 0a5bb7acff
("backend-wayland: Use renderer enum type for config selection"). So just
restore it.
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
This commit is contained in:
parent
686f0d4f2b
commit
4ce6b1e498
|
@ -2897,6 +2897,8 @@ wayland_backend_create(struct weston_compositor *compositor,
|
|||
|
||||
create_cursor(b, new_config);
|
||||
|
||||
b->fullscreen = new_config->fullscreen;
|
||||
|
||||
b->formats_count = ARRAY_LENGTH(wayland_formats);
|
||||
b->formats = pixel_format_get_array(wayland_formats, b->formats_count);
|
||||
|
||||
|
|
Loading…
Reference in New Issue