weston/libweston/backend-wayland
Pekka Paalanen 9e1c96bce7 backend-wayland: restructure wayland_output_resize_surface()
A following patch is going to need the introduced 'area' and 'fb_size'
variables. Until then though, a little hack is needed to avoid no-gl
builds failing with error: variable 'fb_size' set but not used.

While starting to use struct weston_geometry, convert also the input and
opaque regions to use it. This shortens and simplifies the code, as we
can drop the roughly duplicate code of doing stuff for with vs. without
a frame.

No change in behavior, this is pure refactoring.

Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.com>
2022-07-29 08:54:21 +00:00
..
meson.build backend-wayland: fix incorrect header 2021-07-13 18:26:38 +01:00
wayland.c backend-wayland: restructure wayland_output_resize_surface() 2022-07-29 08:54:21 +00:00