smithay icon indicating copy to clipboard operation
smithay copied to clipboard

wayland.shm: Add support for wl_shm version 2

Open PolyMeilex opened this issue 1 year ago • 1 comments

Version 2 adds release request, we don't have to do anything with it in Smithay as it is marked as destructor.

Draft until next wayland-rs release

PolyMeilex avatar Sep 13 '24 22:09 PolyMeilex

Nice, I forgot this was added to wayland. Now if only https://gitlab.freedesktop.org/wayland/wayland/-/merge_requests/388 could be merged too...

ids1024 avatar Sep 14 '24 00:09 ids1024

The new wayland-rs release should have this.

ids1024 avatar Oct 23 '24 16:10 ids1024

Codecov Report

Attention: Patch coverage is 50.00000% with 1 line in your changes missing coverage. Please review.

Project coverage is 19.66%. Comparing base (d5cedee) to head (25416ed). Report is 16 commits behind head on master.

Files with missing lines Patch % Lines
src/wayland/shm/handlers.rs 0.00% 1 Missing :warning:
Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1532   +/-   ##
=======================================
  Coverage   19.66%   19.66%           
=======================================
  Files         169      169           
  Lines       27749    27810   +61     
=======================================
+ Hits         5456     5468   +12     
- Misses      22293    22342   +49     
Flag Coverage Δ
wlcs-buffer 17.08% <50.00%> (+<0.01%) :arrow_up:
wlcs-core 16.82% <50.00%> (+<0.01%) :arrow_up:
wlcs-output 6.89% <50.00%> (-0.02%) :arrow_down:
wlcs-pointer-input 18.60% <50.00%> (-0.01%) :arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

codecov-commenter avatar Oct 24 '24 16:10 codecov-commenter