Skip to content

Commit

Permalink
fixup! use display as_mut()
Browse files Browse the repository at this point in the history
  • Loading branch information
raphamorim committed Jan 19, 2024
1 parent 9360263 commit 378e1bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rio-backend/src/clipboard.rs
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ impl Clipboard {
RawDisplayHandle::Wayland(mut display) => {
let (selection, clipboard) =
wayland_clipboard::create_clipboards_from_external(
*display.display.as_mut(),
display.display.as_ptr(),
);
Self {
clipboard: Box::new(clipboard),
Expand Down

0 comments on commit 378e1bb

Please sign in to comment.