1
0
Fork 0
forked from wry/wry

pointer-constraints: defer cursor position update

This commit is contained in:
Julian Orth 2025-05-29 00:01:31 +02:00
parent 0930f00356
commit 00aa689e7a
5 changed files with 20 additions and 15 deletions

View file

@ -1630,7 +1630,7 @@ impl WlSurface {
pub fn detach_node(&self, set_invisible: bool) {
for (_, constraint) in &self.constraints {
constraint.deactivate(true);
constraint.deactivate(true, true);
}
for (_, inhibitor) in &self.idle_inhibitors {
inhibitor.deactivate();