floating: Throttle resizes
This commit is contained in:
parent
df74a322ab
commit
e217a91fec
2 changed files with 6 additions and 2 deletions
|
|
@ -120,7 +120,9 @@ impl ResizeSurfaceGrab {
|
||||||
},
|
},
|
||||||
self.last_window_size.as_global(),
|
self.last_window_size.as_global(),
|
||||||
));
|
));
|
||||||
self.window.configure();
|
if self.window.latest_size_committed() {
|
||||||
|
self.window.configure();
|
||||||
|
}
|
||||||
|
|
||||||
false
|
false
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -990,7 +990,9 @@ impl FloatingLayout {
|
||||||
geo.as_local()
|
geo.as_local()
|
||||||
.to_global(self.space.outputs().next().unwrap()),
|
.to_global(self.space.outputs().next().unwrap()),
|
||||||
);
|
);
|
||||||
mapped.configure();
|
if mapped.latest_size_committed() {
|
||||||
|
mapped.configure();
|
||||||
|
}
|
||||||
|
|
||||||
true
|
true
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue