wayland: implement xdg-toplevel-drag
This commit is contained in:
parent
e665a18242
commit
364872258a
21 changed files with 535 additions and 70 deletions
|
|
@ -972,6 +972,10 @@ impl WlSurface {
|
|||
self.seat_state.set_visible(self, visible);
|
||||
}
|
||||
|
||||
pub fn detach_node(&self) {
|
||||
self.destroy_node();
|
||||
}
|
||||
|
||||
pub fn destroy_node(&self) {
|
||||
for (_, constraint) in &self.constraints {
|
||||
constraint.deactivate();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue