Revert "subsurface_widget: Handle viewport and set source rectangle"
This reverts commit 15547dec8f83af1ea6dbed1964302400fc17c257 from https://github.com/pop-os/iced/pull/227. This is causing issues in `cosmic-workspaces`. It seems I didn't test it properly outside the examples here... and this misinterpreted exactly what the (undocumented) `viewport` argument means (Iced's `image` widget also needed a fix to handle viewports properly since our fork: https://github.com/iced-rs/iced/pull/2752). It should be possible to fix, but revert for now.
This commit is contained in:
parent
7a1f8b3472
commit
5924fea0b1
2 changed files with 13 additions and 45 deletions
|
|
@ -1612,8 +1612,7 @@ impl SctkState {
|
|||
wp_fractional_scale,
|
||||
|
||||
wl_buffer: None,
|
||||
source: None,
|
||||
destination: Some(bounds),
|
||||
bounds: Some(bounds),
|
||||
transform:
|
||||
cctk::wayland_client::protocol::wl_output::Transform::Normal,
|
||||
z: settings.z,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue