Skip to content
  • Pekka Paalanen's avatar
    backend-wayland: restructure wayland_output_resize_surface() · 9e1c96bc
    Pekka Paalanen authored and Pekka Paalanen's avatar Pekka Paalanen committed
    
    
    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: default avatarPekka Paalanen <pekka.paalanen@collabora.com>
    9e1c96bc
Loading