backend: add ButtonState
This commit is contained in:
parent
e22e6680b6
commit
0e1be7544f
17 changed files with 75 additions and 66 deletions
|
|
@ -21,7 +21,7 @@ pub mod zwp_input_popup_surface_v2;
|
|||
|
||||
use {
|
||||
crate::{
|
||||
backend::KeyState,
|
||||
backend::{ButtonState, KeyState},
|
||||
client::{Client, ClientError},
|
||||
cmm::cmm_description::ColorDescription,
|
||||
cursor_user::{CursorUser, CursorUserId},
|
||||
|
|
@ -1907,7 +1907,7 @@ impl Node for WlSurface {
|
|||
seat: &Rc<WlSeatGlobal>,
|
||||
time_usec: u64,
|
||||
button: u32,
|
||||
state: KeyState,
|
||||
state: ButtonState,
|
||||
serial: u64,
|
||||
) {
|
||||
seat.button_surface(&self, time_usec, button, state, serial);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue