zed icon indicating copy to clipboard operation
zed copied to clipboard

Wayland: Support integer scaling without wp_fractional_scale

Open bbb651 opened this issue 1 year ago • 3 comments

Release Notes:

  • N/A

DoubleBuffered is not currently very necessary because we only care about a single field OutputState::scale but I think it can be useful for other objects as it's a fairly common pattern in wayland.

bbb651 avatar Mar 05 '24 14:03 bbb651

I was also missing wl_surface::commits after calls to wl_surface::set_buffer_scale

bbb651 avatar Mar 05 '24 17:03 bbb651

Turns out there are wl_*::REQ_*_SINCE and wl_*::EVT_*_SINCE constants already in wayland-client

bbb651 avatar Mar 05 '24 17:03 bbb651

Sorry for all the CI errors and messy commits, I think it should be good to go now :smile:

bbb651 avatar Mar 05 '24 18:03 bbb651