seat: remove dead self-move code
This commit is contained in:
parent
06fe5b15e1
commit
fb8d4c2700
4 changed files with 5 additions and 27 deletions
|
|
@ -260,13 +260,7 @@ impl XdgToplevelRequestHandler for XdgToplevel {
|
|||
Ok(())
|
||||
}
|
||||
|
||||
fn move_(&self, req: Move, _slf: &Rc<Self>) -> Result<(), Self::Error> {
|
||||
let seat = self.xdg.surface.client.lookup(req.seat)?;
|
||||
if let Some(parent) = self.toplevel_data.parent.get() {
|
||||
if let Some(float) = parent.node_into_float() {
|
||||
seat.move_(&float);
|
||||
}
|
||||
}
|
||||
fn move_(&self, _req: Move, _slf: &Rc<Self>) -> Result<(), Self::Error> {
|
||||
Ok(())
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue