image-copy: Use abstraction that's now provided by Smithay
This doesn't change much, since the Smithay implementation is based on the `cosmic-comp` version, but made more generic. We provide our own implementation for our workspace capture protocol, but otherwise Smithay handles the boilerplate now. This should not cause any change in behavior.
This commit is contained in:
parent
0f7e53b600
commit
cac7a5aca6
16 changed files with 285 additions and 1536 deletions
|
|
@ -24,9 +24,8 @@ use crate::{
|
|||
zoom::ZoomState,
|
||||
},
|
||||
utils::{prelude::*, quirks::workspace_overview_is_open},
|
||||
wayland::{
|
||||
handlers::{screencopy::SessionHolder, xwayland_keyboard_grab::XWaylandGrabSeat},
|
||||
protocols::screencopy::{BufferConstraints, CursorSessionRef},
|
||||
wayland::handlers::{
|
||||
image_copy_capture::SessionHolder, xwayland_keyboard_grab::XWaylandGrabSeat,
|
||||
},
|
||||
};
|
||||
use calloop::{
|
||||
|
|
@ -62,6 +61,7 @@ use smithay::{
|
|||
},
|
||||
utils::{Point, Rectangle, SERIAL_COUNTER, Serial},
|
||||
wayland::{
|
||||
image_copy_capture::{BufferConstraints, CursorSessionRef},
|
||||
keyboard_shortcuts_inhibit::KeyboardShortcutsInhibitorSeat,
|
||||
pointer_constraints::{PointerConstraint, with_pointer_constraint},
|
||||
seat::WaylandFocus,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue