Skip to content

Commit

Permalink
simplify
Browse files Browse the repository at this point in the history
  • Loading branch information
wez authored Sep 14, 2024
1 parent e0cabbe commit 92eed4c
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion window/src/os/wayland/copy_and_paste.rs
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,6 @@ impl CopyAndPaste {

impl WaylandState {
pub(super) fn resolve_copy_and_paste(&mut self) -> Option<Arc<Mutex<CopyAndPaste>>> {
let active_surface_id = self.active_surface_id.borrow();
let active_surface_id = self.active_surface_id.borrow();
let active_surface_id = active_surface_id.as_ref()?;
let pending = self.surface_to_pending.get(&active_surface_id)?;
Expand Down

0 comments on commit 92eed4c

Please sign in to comment.