1
0
Fork 0
forked from wry/wry

all: implement hardware cursors

This commit is contained in:
Julian Orth 2022-06-01 21:46:31 +02:00
parent 6cc97ee56e
commit 3b8935cf55
23 changed files with 614 additions and 91 deletions

View file

@ -1,6 +1,6 @@
use {
crate::{
backend::{KeyState, Mode},
backend::{HardwareCursor, KeyState, Mode},
cursor::KnownCursor,
fixed::Fixed,
ifs::{
@ -52,6 +52,7 @@ pub struct OutputNode {
pub pointer_positions: CopyHashMap<SeatId, (i32, i32)>,
pub lock_surface: CloneCell<Option<Rc<ExtSessionLockSurfaceV1>>>,
pub preferred_scale: Cell<Fixed>,
pub hardware_cursor: CloneCell<Option<Rc<dyn HardwareCursor>>>,
}
impl OutputNode {