Merge pull request #503 from mahkoh/jorth/grab-revert-to-default
toplevel-grab: remove grab when reverting to default
This commit is contained in:
commit
a52986f3f4
1 changed files with 2 additions and 0 deletions
|
|
@ -1059,6 +1059,7 @@ where
|
|||
}
|
||||
|
||||
fn revert_to_default(&self, seat: &Rc<WlSeatGlobal>) {
|
||||
self.tl.node_seat_state().remove_pointer_grab(seat);
|
||||
seat.pointer_owner.set_default_pointer_owner(seat);
|
||||
}
|
||||
|
||||
|
|
@ -1072,6 +1073,7 @@ where
|
|||
}
|
||||
|
||||
fn disable_window_management(&self, seat: &Rc<WlSeatGlobal>) {
|
||||
self.tl.node_seat_state().remove_pointer_grab(seat);
|
||||
seat.pointer_owner.set_default_pointer_owner(seat);
|
||||
seat.apply_changes();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue