pub fn motion(
        &self,
        location: Point<f64, Logical>,
        focus: Option<(WlSurface, Point<i32, Logical>)>,
        serial: Serial,
        time: u32,
    ) {
        let mut inner = self.inner.borrow_mut();
        inner.pending_focus = focus.clone();
        inner.with_grab(move |mut handle, grab| {
            grab.motion(&mut handle, location, focus, serial, time);
        });
    }
/// Notify that the pointer moved
///
/// You provide the new location of the pointer, in the form of:
///
/// - The coordinates of the pointer in the global compositor space
/// - The surface on top of which the cursor is, and the coordinates of its
///   origin in the global compositor space (or `None` of the pointer is not
///   on top of a client surface).
///
/// This will internally take care of notifying the appropriate client objects
/// of enter/motion/leave events.
Notify that the pointer moved
You provide the new location of the pointer, in the form of.

The coordinates of the pointer in the global compositor space
The surface on top of which the cursor is, and the coordinates of its
origin in the global compositor space (or `None` of the pointer is not
on top of a client surface).

This will internally take care of notifying the appropriate client objects
of enter/motion/leave events.
Notify that the pointer moved You provide the new location of the pointer in the form of . The coordinates of the pointer in the global compositor space The surface on top of which the cursor is and the coordinates of its origin in the global compositor space ( or ` None ` of the pointer is not on top of a client surface ) . This will internally take care of notifying the appropriate client objects of enter / motion / leave events .
pub fn motion(
        &self,
        location: Point<f64, Logical>,
        focus: Option<(WlSurface, Point<i32, Logical>)>,
        serial: Serial,
        time: u32,
    ) {
        let mut inner = self.inner.borrow_mut();
        inner.pending_focus = focus.clone();
        inner.with_grab(move |mut handle, grab| {
            grab.motion(&mut handle, location, focus, serial, time);
        });
    }
pub fn motion ( & self , location : Point < f64 , Logical > , focus : Option < ( WlSurface , Point < i32 , Logical > ) > , serial : Serial , time : u32 , ) { let mut inner = self . inner . borrow_mut ( ) ; inner . pending_focus = focus . clone ( ) ; inner . with_grab ( move | mut handle , grab | { grab . motion ( & mut handle , location , focus , serial , time ) ; } ) ; }
Notify that the pointer moved
You provide the new location of the pointer, in the form of:
Notify that the pointer moved You provide the new location of the pointer in the form of :
&self
location
Point<f64, Logical>
focus
Option<(WlSurface, Point<i32, Logical>)>
serial
Serial
time
u32
&self
location
Point<f64, Logical>
focus
Option<(WlSurface, Point<i32, Logical>)>
serial
Serial
time
u32