mirror of
https://github.com/pinnacle-comp/pinnacle.git
synced 2025-01-14 08:01:14 +01:00
Implement relative pointer protocol
This commit is contained in:
parent
8df5682328
commit
a1021638c5
1 changed files with 5 additions and 0 deletions
|
@ -29,6 +29,7 @@ use smithay::{
|
|||
dmabuf::DmabufFeedback,
|
||||
fractional_scale::FractionalScaleManagerState,
|
||||
output::OutputManagerState,
|
||||
relative_pointer::RelativePointerManagerState,
|
||||
selection::{
|
||||
data_device::DataDeviceState, primary_selection::PrimarySelectionState,
|
||||
wlr_data_control::DataControlState,
|
||||
|
@ -76,6 +77,7 @@ pub struct State {
|
|||
pub data_control_state: DataControlState,
|
||||
pub screencopy_manager_state: ScreencopyManagerState,
|
||||
pub gamma_control_manager_state: GammaControlManagerState,
|
||||
pub relative_pointer_manager_state: RelativePointerManagerState,
|
||||
|
||||
/// The state of key and mousebinds along with libinput settings
|
||||
pub input_state: InputState,
|
||||
|
@ -263,6 +265,9 @@ impl State {
|
|||
&display_handle,
|
||||
|_| true,
|
||||
),
|
||||
relative_pointer_manager_state: RelativePointerManagerState::new::<Self>(
|
||||
&display_handle,
|
||||
),
|
||||
|
||||
input_state: InputState::new(),
|
||||
|
||||
|
|
Loading…
Reference in a new issue