Skip to content
  • Jonas Ådahl's avatar
    wayland: Only set surface buffer scale when supported · cf6c11cf
    Jonas Ådahl authored
    Although very unlikely, the wl_compositor version might not support
    wl_surface.set_buffer_scale while the wl_output emits a wl_output.scale
    that is larger than 1. So for correctness, bail on changing the buffer
    scale if we won't be able to set it later.
    cf6c11cf