pointer-constraints: defer cursor position update
This commit is contained in:
parent
0930f00356
commit
00aa689e7a
5 changed files with 20 additions and 15 deletions
|
|
@ -432,7 +432,7 @@ impl WlSeatGlobal {
|
|||
|
||||
pub fn disable_pointer_constraint(&self) {
|
||||
if let Some(constraint) = self.constraint.get() {
|
||||
constraint.deactivate(true);
|
||||
constraint.deactivate(true, true);
|
||||
if constraint.status.get() == SeatConstraintStatus::Inactive {
|
||||
constraint
|
||||
.status
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue