pub fn unset_grab(&mut self, serial: Serial, time: u32) {
        self.inner.grab = GrabStatus::None;
        // restore the focus
        let location = self.current_location();
        let focus = self.inner.pending_focus.clone();
        self.motion(location, focus, serial, time);
    }
/// Remove any current grab on this pointer, resetting it to the default behavior
///
/// This will also restore the focus of the underlying pointer
Remove any current grab on this pointer, resetting it to the default behavior
This will also restore the focus of the underlying pointer
Remove any current grab on this pointer resetting it to the default behavior This will also restore the focus of the underlying pointer
pub fn unset_grab(&mut self, serial: Serial, time: u32) {
        self.inner.grab = GrabStatus::None;
        // restore the focus
        let location = self.current_location();
        let focus = self.inner.pending_focus.clone();
        self.motion(location, focus, serial, time);
    }
pub fn unset_grab ( & mut self , serial : Serial , time : u32 ) { self . inner . grab = GrabStatus :: None ; // restore the focus let location = self . current_location ( ) ; let focus = self . inner . pending_focus . clone ( ) ; self . motion ( location , focus , serial , time ) ; }
Remove any current grab on this pointer, resetting it to the default behavior
This will also restore the focus of the underlying pointer
Remove any current grab on this pointer resetting it to the default behavior This will also restore the focus of the underlying pointer
&mut self
serial
Serial
time
u32
&mut self
serial
Serial
time
u32