diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/niri.rs | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/src/niri.rs b/src/niri.rs index 275358b8..570c199b 100644 --- a/src/niri.rs +++ b/src/niri.rs @@ -60,9 +60,7 @@ use smithay::wayland::output::OutputManagerState; use smithay::wayland::pointer_gestures::PointerGesturesState; use smithay::wayland::presentation::PresentationState; use smithay::wayland::selection::data_device::{set_data_device_selection, DataDeviceState}; -use smithay::wayland::selection::primary_selection::{ - set_primary_selection, PrimarySelectionState, -}; +use smithay::wayland::selection::primary_selection::PrimarySelectionState; use smithay::wayland::selection::wlr_data_control::DataControlState; use smithay::wayland::session_lock::{LockSurface, SessionLockManagerState, SessionLocker}; use smithay::wayland::shell::kde::decoration::KdeDecorationState; @@ -2108,12 +2106,6 @@ impl Niri { vec![String::from("image/png")], buf.clone(), ); - set_primary_selection( - &state.niri.display_handle, - &state.niri.seat, - vec![String::from("image/png")], - buf.clone(), - ); } calloop::channel::Event::Closed => (), }) |
