Skip to content

tests/wl_surface: Test invalid_transform

Tests wl_surface_set_buffer_transform

This uses std::mem::transmute to create a wl_output::Transform outside the enum range, I feel there's a better way to do this, but it works for now.

It also seems that Anvil only implements wl_surface errors for non-positive buffer scales.

Edited by Colin Kinloch

Merge request reports