Redraw prior window area during move

parent a950f4a8
Pipeline #8841 passed with stage
in 1 minute and 51 seconds
......@@ -229,6 +229,9 @@ impl Handler for OrbitalScheme {
}
fn handle_window_position(&mut self, _orb: &mut Orbital, id: usize, x: Option<i32>, y: Option<i32>) -> syscall::Result<()> {
if let Some(window) = self.windows.get_mut(&id) {
schedule(&mut self.redraws, window.title_rect());
schedule(&mut self.redraws, window.rect());
window.x = x.unwrap_or(window.x);
window.y = y.unwrap_or(window.y);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment